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). --- cmd-pipe-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-pipe-pane.c') diff --git a/cmd-pipe-pane.c b/cmd-pipe-pane.c index c2ec3ac3..8e8019e1 100644 --- a/cmd-pipe-pane.c +++ b/cmd-pipe-pane.c @@ -115,7 +115,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item) return (CMD_RETURN_ERROR); case 0: /* Child process. */ - proc_clear_signals(server_proc); + proc_clear_signals(server_proc, 1); sigprocmask(SIG_SETMASK, &oldset, NULL); close(pipe_fd[0]); -- cgit v1.2.3