Browse Source

BF: `ret` now changed after beautifier called

pull/610/head
Steven Hiscocks 11 years ago
parent
commit
3cbfe9b057
  1. 2
      fail2ban-client

2
fail2ban-client

@ -156,10 +156,10 @@ class Fail2banClient:
if showRet:
print beautifier.beautify(ret[1])
else:
ret = False
logSys.error("NOK: " + `ret[1].args`)
if showRet:
print beautifier.beautifyError(ret[1])
ret = False
except socket.error:
if showRet:
logSys.error("Unable to contact server. Is it running?")

Loading…
Cancel
Save