mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Small fixes
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
1c0386c3ea
commit
d1cdfdaf01
1 changed files with 2 additions and 2 deletions
|
|
@ -143,12 +143,12 @@ class Fail2banClient:
|
|||
print beautifier.beautifyError(ret[1])
|
||||
return False
|
||||
except socket.error:
|
||||
logSys.error("Unable to contact server. Is it running?")
|
||||
if showRet:
|
||||
logSys.error("Unable to contact server. Is it running?")
|
||||
return False
|
||||
except Exception, e:
|
||||
if showRet:
|
||||
logSys.error(e)
|
||||
logSys.error("Arrggh... Start the server first")
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue