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])
|
print beautifier.beautifyError(ret[1])
|
||||||
return False
|
return False
|
||||||
except socket.error:
|
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
|
return False
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
if showRet:
|
if showRet:
|
||||||
logSys.error(e)
|
logSys.error(e)
|
||||||
logSys.error("Arrggh... Start the server first")
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue