mirror of https://github.com/fail2ban/fail2ban
- Small fixes
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
1c0386c3ea
commit
d1cdfdaf01
|
@ -143,12 +143,12 @@ class Fail2banClient:
|
|||
print beautifier.beautifyError(ret[1])
|
||||
return False
|
||||
except socket.error:
|
||||
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 New Issue