Reset signal mask at startup
o9000 mrovi9000@gmail.com
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/signals.c
→
src/signals.c
@@ -39,6 +39,8 @@ {
// Set signal handlers signal_pending = 0; + reset_signals(); + struct sigaction sa_chld = {.sa_handler = SIG_IGN}; sigaction(SIGCHLD, &sa_chld, 0);