aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-10-26 19:00:37 +0000
committernicm <nicm>2020-10-26 19:00:37 +0000
commit31ed29e5511958845fabc66a479eeec39c1836bd (patch)
tree6d06599fa5c913808da5191d961630e9144b39bd
parentd8cda9286ff1157ed46126bc4a797b08bb9436ae (diff)
downloadrtmux-31ed29e5511958845fabc66a479eeec39c1836bd.tar.gz
rtmux-31ed29e5511958845fabc66a479eeec39c1836bd.tar.bz2
rtmux-31ed29e5511958845fabc66a479eeec39c1836bd.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 c0e2f55b..ff011565 100644
--- a/proc.c
+++ b/proc.c
@@ -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);