mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Also ignore SIGQUIT so it can't be used to kill the client when locked.
This commit is contained in:
parent
944177eec3
commit
82c65e3f37
1
proc.c
1
proc.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user