use os._exit(0) instead of sys.exit() #134

Merged
Atheros1 merged 2 commits from master into master 2013-05-06 17:37:35 +02:00
Showing only changes of commit 4b27e07c2c - Show all commits

View File

@ -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.'