mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
SIGQUIT handler needs to be cleared before fork like the others,
reported by Simon Andersson.
This commit is contained in:
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);
|
||||||
|
Reference in New Issue
Block a user