mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Return value of createDaemon() changed to True
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@84 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
a9f76243d5
commit
4db4ae0bd7
1 changed files with 1 additions and 1 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue