diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-07-14 18:49:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-07-14 18:49:08 +0000 |
commit | f333118936ab5e0a57d6800a356a59f3c9a714d9 (patch) | |
tree | ed8bd3c64f8577530d2a4e7d6844f4e7f088431f /usr.bin/tmux/cmd-pipe-pane.c | |
parent | db5263687c169db4eef88bab187ff0cb1046bdc7 (diff) |
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 'usr.bin/tmux/cmd-pipe-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-pipe-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-pipe-pane.c b/usr.bin/tmux/cmd-pipe-pane.c index 0860ba8d609..38cd20a30ed 100644 --- a/usr.bin/tmux/cmd-pipe-pane.c +++ b/usr.bin/tmux/cmd-pipe-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-pipe-pane.c,v 1.45 2017/07/12 10:04:51 nicm Exp $ */ +/* $OpenBSD: cmd-pipe-pane.c,v 1.46 2017/07/14 18:49:07 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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]); |