mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 16:13:34 +00:00
Do not need to set up USR2 twice.
This commit is contained in:
parent
51112221ee
commit
fba6140a4a
2
proc.c
2
proc.c
@ -223,7 +223,6 @@ proc_set_signals(struct tmuxproc *tp, void (*signalcb)(int))
|
||||
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
sigaction(SIGPIPE, &sa, NULL);
|
||||
sigaction(SIGUSR2, &sa, NULL);
|
||||
sigaction(SIGTSTP, &sa, NULL);
|
||||
|
||||
signal_set(&tp->ev_sighup, SIGHUP, proc_signal_cb, tp);
|
||||
@ -254,7 +253,6 @@ proc_clear_signals(struct tmuxproc *tp)
|
||||
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
sigaction(SIGPIPE, &sa, NULL);
|
||||
sigaction(SIGUSR2, &sa, NULL);
|
||||
sigaction(SIGTSTP, &sa, NULL);
|
||||
|
||||
event_del(&tp->ev_sighup);
|
||||
|
Loading…
Reference in New Issue
Block a user