From e7a4436cf61ee827902a1de54626e7f90f61ad1a Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 11 Dec 2022 18:43:53 +0100 Subject: 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 --- src/runit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.4.1