aboutsummaryrefslogtreecommitdiff
path: root/lib/libcfg/unescape.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-05-13 16:55:30 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-05-13 16:58:15 +0200
commitdd0007f9dcb850806cb62ecc705c35789e12f175 (patch)
treef74be0fb7e5a0d63e1e3f2c88eeb4906bf6d5759 /lib/libcfg/unescape.c
parent319b20e6c303a5c66513708372af24bcdcd1e905 (diff)
Fix runsvc waiting behaviour if run as subreaper
It basically needs to wait for ALL children (even those created by child processes) to terminate before terminating itself. This commit replaces the waitpid loop with a regular wait that and adds another wait loop at the end of run_sequentially to wait for any transitive children. The sigchld handling is removed from the signal handler and the handler is only installed for SIGINT, SIGTERM and SIGHUP. The other signals that initd hooks are set to default. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/libcfg/unescape.c')
0 files changed, 0 insertions, 0 deletions