mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-17 06:41:26 +00:00
dont fork on win
This commit is contained in:
parent
59a7d8b947
commit
0469f4b2d2
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user