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 /job.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 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ job_run(struct job *job) case -1: return (-1); case 0: /* child */ - server_signal_clear(); + clear_signals(); environ_push(&global_environ); |