use os._exit(0) instead of sys.exit()
This commit is contained in:
parent
ac787d90a8
commit
4b27e07c2c
|
@ -2214,7 +2214,7 @@ def calculateTestnetAddressFromPubkey(pubkey):
|
||||||
def signal_handler(signal, frame):
|
def signal_handler(signal, frame):
|
||||||
if shared.safeConfigGetBoolean('bitmessagesettings','daemon'):
|
if shared.safeConfigGetBoolean('bitmessagesettings','daemon'):
|
||||||
shared.doCleanShutdown()
|
shared.doCleanShutdown()
|
||||||
sys.exit()
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
print 'Unfortunately you cannot use Ctrl+C when running the UI because the UI captures the signal.'
|
print 'Unfortunately you cannot use Ctrl+C when running the UI because the UI captures the signal.'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user