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

This commit is contained in:
Jonathan Warren 2013-05-06 11:35:45 -04:00
parent ac787d90a8
commit 4b27e07c2c

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