Reset signal mask at startup

This commit is contained in:
o9000 2017-10-15 13:07:12 +02:00
parent 407aef3786
commit 23ddb47e0c

View file

@ -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);