diff options
author | nicm <nicm> | 2020-08-04 08:50:01 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-08-04 08:50:01 +0000 |
commit | 82c65e3f3705c2922e88049f9336333781a26e55 (patch) | |
tree | d3aba5713623a9f402d5c34c59900a12c90d4f3c | |
parent | 944177eec3b0659a95b8484eb73e27201bffd112 (diff) | |
download | rtmux-82c65e3f3705c2922e88049f9336333781a26e55.tar.gz rtmux-82c65e3f3705c2922e88049f9336333781a26e55.tar.bz2 rtmux-82c65e3f3705c2922e88049f9336333781a26e55.zip |
Also ignore SIGQUIT so it can't be used to kill the client when locked.
-rw-r--r-- | proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -226,6 +226,7 @@ proc_set_signals(struct tmuxproc *tp, void (*signalcb)(int)) sigaction(SIGTSTP, &sa, NULL); sigaction(SIGTTIN, &sa, NULL); sigaction(SIGTTOU, &sa, NULL); + sigaction(SIGQUIT, &sa, NULL); signal_set(&tp->ev_sigint, SIGINT, proc_signal_cb, tp); signal_add(&tp->ev_sigint, NULL); |