scriptd: Signal handlers don't need SA_NOCLDWAIT set.

This commit is contained in:
Nicholas J. Kain 2022-09-08 07:17:11 -04:00
parent 5eccd4893a
commit 26f81272ee
No known key found for this signature in database

View File

@ -139,7 +139,7 @@ static void setup_signals_scriptd(void)
struct sigaction sa = {
.sa_handler = signal_handler,
.sa_flags = SA_RESTART|SA_NOCLDWAIT,
.sa_flags = SA_RESTART,
};
if (sigemptyset(&sa.sa_mask))
suicide("sigemptyset failed");