diff options
author | nicm <nicm> | 2017-07-14 18:49:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-07-14 18:49:07 +0000 |
commit | 932f6cfbfc98ab2d6e593f7fa3473a6bb3269967 (patch) | |
tree | 458fd646c28b3655f2ca1ca6a228188cc49ca2e0 /cmd-pipe-pane.c | |
parent | 2678fe53f57c4a3222780c76a7201f4300058e59 (diff) | |
download | rtmux-932f6cfbfc98ab2d6e593f7fa3473a6bb3269967.tar.gz rtmux-932f6cfbfc98ab2d6e593f7fa3473a6bb3269967.tar.bz2 rtmux-932f6cfbfc98ab2d6e593f7fa3473a6bb3269967.zip |
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).
Diffstat (limited to 'cmd-pipe-pane.c')
-rw-r--r-- | cmd-pipe-pane.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |