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 /window.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 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell, environ_push(env); - server_signal_clear(); + clear_signals(); log_close(); if (*wp->cmd != '\0') { |