diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 16:31:49 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 18:12:03 +0200 |
commit | 5b5fc677b313908b8d1a775cd6af08202841d908 (patch) | |
tree | cfd217112b9aff0099802b61e9c5641b60979b70 /initd/runsvc.c | |
parent | 79bb09eac54d91bf76268baa50ecebea1ab19708 (diff) |
Move handling of dead children back to SIGCHLD handler
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/runsvc.c')
-rw-r--r-- | initd/runsvc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/initd/runsvc.c b/initd/runsvc.c index df5a656..5495f15 100644 --- a/initd/runsvc.c +++ b/initd/runsvc.c @@ -205,6 +205,7 @@ pid_t runsvc(service_t *svc) act.sa_handler = SIG_DFL; sigaction(SIGUSR1, &act, NULL); + sigaction(SIGCHLD, &act, NULL); if (setup_env()) exit(EXIT_FAILURE); |