- Small fixes

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2006-09-10 21:06:15 +00:00
parent 1c0386c3ea
commit d1cdfdaf01
1 changed files with 2 additions and 2 deletions

View File

@ -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