diff --git a/src/signals.c b/src/signals.c index 8f0dabd..a8b0084 100644 --- a/src/signals.c +++ b/src/signals.c @@ -39,6 +39,8 @@ void init_signals() // Set signal handlers signal_pending = 0; + reset_signals(); + struct sigaction sa_chld = {.sa_handler = SIG_IGN}; sigaction(SIGCHLD, &sa_chld, 0);