From 4b27e07c2ceaba3cb4f805eddf21058283b3c182 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Mon, 6 May 2013 11:35:45 -0400 Subject: [PATCH] use os._exit(0) instead of sys.exit() --- src/bitmessagemain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index e8d5bbdf..f781b774 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -2214,7 +2214,7 @@ def calculateTestnetAddressFromPubkey(pubkey): def signal_handler(signal, frame): if shared.safeConfigGetBoolean('bitmessagesettings','daemon'): shared.doCleanShutdown() - sys.exit() + sys.exit(0) else: print 'Unfortunately you cannot use Ctrl+C when running the UI because the UI captures the signal.'