mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Because ignore SIGCHLD early, letting signal_del restore it doesn't work
correctly, so set it explicitly back to default (and the others for good measure).
This commit is contained in:
2
window.c
2
window.c
@ -929,7 +929,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv,
|
||||
sigprocmask(SIG_SETMASK, &oldset, NULL);
|
||||
return (-1);
|
||||
case 0:
|
||||
proc_clear_signals(server_proc);
|
||||
proc_clear_signals(server_proc, 1);
|
||||
sigprocmask(SIG_SETMASK, &oldset, NULL);
|
||||
|
||||
if (chdir(wp->cwd) != 0) {
|
||||
|
Reference in New Issue
Block a user