1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-05-08 14:56:13 +02:00

Fix: actually process SIGUSR1 in initd

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-25 16:32:45 +01:00
parent 9fece2eb88
commit 72c02308cd

View file

@ -18,6 +18,7 @@ int sigsetup(void)
sigaddset(&mask, SIGCHLD);
sigaddset(&mask, SIGINT);
sigaddset(&mask, SIGTERM);
sigaddset(&mask, SIGUSR1);
sfd = signalfd(-1, &mask, SFD_CLOEXEC);
if (sfd == -1) {