aboutsummaryrefslogtreecommitdiff
path: root/initd
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-25 16:32:45 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-25 16:32:45 +0100
commit72c02308cd54cd28b3aae137cd04766200f45a9a (patch)
tree331c757d627ec844ea70e7352c9a20239c9dd3a2 /initd
parent9fece2eb88434a7987ffeedadf28b6ef70c52e67 (diff)
Fix: actually process SIGUSR1 in initd
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd')
-rw-r--r--initd/signal_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/initd/signal_linux.c b/initd/signal_linux.c
index 836416d..bb9d339 100644
--- a/initd/signal_linux.c
+++ b/initd/signal_linux.c
@@ -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) {