diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-12-11 18:43:53 +0100 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2024-10-06 20:15:20 +0000 |
commit | e7a4436cf61ee827902a1de54626e7f90f61ad1a (patch) | |
tree | 88b6fc954c65d946cccd809301cece318d6b977c /src | |
parent | 97011e07ad53d513066b6ef1183d109ada5876ca (diff) | |
download | runit-e7a4436cf61ee827902a1de54626e7f90f61ad1a.tar.gz runit-e7a4436cf61ee827902a1de54626e7f90f61ad1a.tar.xz runit-e7a4436cf61ee827902a1de54626e7f90f61ad1a.zip |
runit(8): don't leak SIGCONT SIG_IGN into all child processes
https://inbox.vuxu.org/supervision/87tug3vzex.fsf@vuxu.org/ https://github.com/ksh93/ksh/issues/301
Diffstat (limited to 'src')
-rw-r--r-- | src/runit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runit.c b/src/runit.c index c6c9cea..381807b 100644 --- a/src/runit.c +++ b/src/runit.c @@ -130,7 +130,7 @@ int main (int argc, const char * const *argv, char * const *envp) { sig_unblock(sig_child); sig_uncatch(sig_child); sig_unblock(sig_cont); - sig_ignore(sig_cont); + sig_uncatch(sig_cont); sig_unblock(sig_hangup); sig_unblock(sig_int); sig_uncatch(sig_int); |