aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sinit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sinit.c b/sinit.c
index 45cf0ff..b01497a 100644
--- a/sinit.c
+++ b/sinit.c
@@ -38,9 +38,7 @@ main(void)
chdir("/");
- sigemptyset(&set);
- for (i = 0; i < LEN(sigmap); i++)
- sigaddset(&set, sigmap[i].sig);
+ sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, NULL);
spawn(rcinitcmd);