torjehoa: la inn en fiks for å fange SIGQUIT, ctrl backslash avslutter ikke dibbler lengre.
This commit is contained in:
parent
10a89888cd
commit
2c6a121e21
|
@ -1103,6 +1103,9 @@ def restart():
|
||||||
os.execv(sys.argv[0], sys.argv)
|
os.execv(sys.argv[0], sys.argv)
|
||||||
|
|
||||||
|
|
||||||
|
if not conf.stop_allowed:
|
||||||
|
signal.signal(signal.SIGQUIT, signal.SIG_IGN)
|
||||||
|
|
||||||
if not conf.stop_allowed:
|
if not conf.stop_allowed:
|
||||||
signal.signal(signal.SIGTSTP, signal.SIG_IGN)
|
signal.signal(signal.SIGTSTP, signal.SIG_IGN)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue