From 3cbfe9b057e493cfaedee26342923889bbf789ba Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sat, 8 Feb 2014 22:15:19 +0000 Subject: [PATCH] BF: `ret` now changed after beautifier called --- fail2ban-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban-client b/fail2ban-client index 0f863ab0e..af1ac856a 100755 --- a/fail2ban-client +++ b/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?")