From d6c1eb15432751d6651457c39c11660d0b48e6e5 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sun, 6 Mar 2005 18:27:42 +0000 Subject: [PATCH] - Return value of createDaemon() changed to True git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@84 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- fail2ban.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban.py b/fail2ban.py index 258b79c4..256533c9 100755 --- a/fail2ban.py +++ b/fail2ban.py @@ -402,7 +402,7 @@ if __name__ == "__main__": retCode = createDaemon() signal.signal(signal.SIGTERM, sigTERMhandler) logSys.set_target(conf["logfile"]) - if retCode != 0: + if not retCode: logSys.error("Unable to start daemon") sys.exit(-1) elif c == "logging" and conf[c]: