From f5d8cce4a280ecbb1d4aa522f21767989fd3701a Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 18 Jun 2013 18:46:38 +0100 Subject: [PATCH] Fix donot option check for windows/osx --- deluge/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/main.py b/deluge/main.py index 071ffd30f..05d3827de 100644 --- a/deluge/main.py +++ b/deluge/main.py @@ -227,7 +227,7 @@ this should be an IP address", metavar="IFACE", log.addHandler(file_handler) # If the donot daemonize is set, then we just skip the forking - if not (options.donot or deluge.common.windows_check() or deluge.common.osx_check()): + if not (deluge.common.windows_check() or deluge.common.osx_check() or options.donot): if os.fork(): # We've forked and this is now the parent process, so die! os._exit(0)