From 58b47bc6de9816bf8c74e6a597d3fa1d28a15436 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Tue, 15 Aug 2017 12:22:24 +0200 Subject: [PATCH] Forking fixes --- src/bitmessagemain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index eed725d3..426af695 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -328,7 +328,7 @@ class Main: def daemonize(self): try: if os.fork(): - exit(0) + os._exit(0) except AttributeError: # fork not implemented pass @@ -342,7 +342,7 @@ class Main: pass try: if os.fork(): - exit(0) + os._exit(0) except AttributeError: # fork not implemented pass