torjehoa: la inn en fiks for å fange SIGQUIT, ctrl backslash avslutter ikke dibbler lengre.

This commit is contained in:
torjehoa 2011-03-21 00:53:10 +00:00
parent 10a89888cd
commit 2c6a121e21

View File

@ -1103,6 +1103,9 @@ def restart():
os.execv(sys.argv[0], sys.argv)
if not conf.stop_allowed:
signal.signal(signal.SIGQUIT, signal.SIG_IGN)
if not conf.stop_allowed:
signal.signal(signal.SIGTSTP, signal.SIG_IGN)