mirror of
https://github.com/pygos/init.git
synced 2024-11-05 04:07:10 +01:00
Fix: actually process SIGUSR1 in initd
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
9fece2eb88
commit
72c02308cd
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue