dont fork on win

This commit is contained in:
Marcos Pinto 2008-07-01 02:07:57 +00:00
parent 59a7d8b947
commit 0469f4b2d2
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def start_daemon():
(options, args) = parser.parse_args()
# If the donot daemonize is set, then we just skip the forking
if not options.donot:
if not options.donot and not deluge.common.windows_check():
if os.fork() == 0:
os.setsid()
if os.fork() == 0: