SIGQUIT handler needs to be cleared before fork like the others,

reported by Simon Andersson.
This commit is contained in:
nicm 2020-10-26 19:00:37 +00:00
parent d8cda9286f
commit 31ed29e551

1
proc.c
View File

@ -270,6 +270,7 @@ proc_clear_signals(struct tmuxproc *tp, int defaults)
if (defaults) {
sigaction(SIGINT, &sa, NULL);
sigaction(SIGQUIT, &sa, NULL);
sigaction(SIGHUP, &sa, NULL);
sigaction(SIGCHLD, &sa, NULL);
sigaction(SIGCONT, &sa, NULL);