Skip to content

Commit

Permalink
Forking fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSurda committed Aug 15, 2017
1 parent 3c50615 commit 58b47bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bitmessagemain.py
Expand Up @@ -328,7 +328,7 @@ def start(self, daemon=False):
def daemonize(self):
try:
if os.fork():
exit(0)
os._exit(0)
except AttributeError:
# fork not implemented
pass
Expand All @@ -342,7 +342,7 @@ def daemonize(self):
pass
try:
if os.fork():
exit(0)
os._exit(0)
except AttributeError:
# fork not implemented
pass
Expand Down

0 comments on commit 58b47bc

Please sign in to comment.