From 932f6cfbfc98ab2d6e593f7fa3473a6bb3269967 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 14 Jul 2017 18:49:07 +0000 Subject: 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). --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.c') diff --git a/window.c b/window.c index 08d2c6e5..f08e35ab 100644 --- a/window.c +++ b/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) { -- cgit