mirror of
https://github.com/tmux/tmux.git
synced 2025-04-01 13:18:49 +00:00
SIGQUIT handler needs to be cleared before fork like the others,
reported by Simon Andersson.
This commit is contained in:
parent
d8cda9286f
commit
31ed29e551
1
proc.c
1
proc.c
@ -270,6 +270,7 @@ proc_clear_signals(struct tmuxproc *tp, int defaults)
|
|||||||
|
|
||||||
if (defaults) {
|
if (defaults) {
|
||||||
sigaction(SIGINT, &sa, NULL);
|
sigaction(SIGINT, &sa, NULL);
|
||||||
|
sigaction(SIGQUIT, &sa, NULL);
|
||||||
sigaction(SIGHUP, &sa, NULL);
|
sigaction(SIGHUP, &sa, NULL);
|
||||||
sigaction(SIGCHLD, &sa, NULL);
|
sigaction(SIGCHLD, &sa, NULL);
|
||||||
sigaction(SIGCONT, &sa, NULL);
|
sigaction(SIGCONT, &sa, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user