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 committed by Nicholas Marriott
parent cf8ef63c4a
commit 3c298b98ce

1
proc.c
View File

@ -282,6 +282,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);