Browse Source

- Small fixes

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 18 years ago
parent
commit
d1cdfdaf01
  1. 4
      fail2ban-client

4
fail2ban-client

@ -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…
Cancel
Save