diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-05-03 16:06:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-05-03 16:06:32 +0000 |
commit | ec1d37b1b259e8a3502646876b60eb42c2c5c740 (patch) | |
tree | 9e4df0d9a264623b5c1be85e21fcdf07cbb440b9 /cmd-pipe-pane.c | |
parent | c9191394332342a570dc6620bc8cfd7c6e554e1b (diff) | |
download | rtmux-ec1d37b1b259e8a3502646876b60eb42c2c5c740.tar.gz rtmux-ec1d37b1b259e8a3502646876b60eb42c2c5c740.tar.bz2 rtmux-ec1d37b1b259e8a3502646876b60eb42c2c5c740.zip |
Make signal handler setup/teardown two common functions instead of six,
and reset SIGCHLD after fork to fix problems with some shells. From
Romain Francois.
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 efe79a38..0d7c3ff6 100644 --- a/cmd-pipe-pane.c +++ b/cmd-pipe-pane.c @@ -91,7 +91,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmd_ctx *ctx) case 0: /* Child process. */ close(pipe_fd[0]); - server_signal_clear(); + clear_signals(); if (dup2(pipe_fd[1], STDIN_FILENO) == -1) _exit(1); |