aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-10-26 19:00:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-10-29 13:47:24 +0000
commit3c298b98ce92a69573241c87846a1a7610ce68e4 (patch)
treed194e144c3982fe62d85bc0cf78cabd900e15f53
parentcf8ef63c4a5cbbc29f655a076b2e57c144ad8316 (diff)
downloadrtmux-3c298b98ce92a69573241c87846a1a7610ce68e4.tar.gz
rtmux-3c298b98ce92a69573241c87846a1a7610ce68e4.tar.bz2
rtmux-3c298b98ce92a69573241c87846a1a7610ce68e4.zip
SIGQUIT handler needs to be cleared before fork like the others,
reported by Simon Andersson.
-rw-r--r--proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc.c b/proc.c
index ebc39386..a9aa070a 100644
--- a/proc.c
+++ b/proc.c
@@ -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);