From 8a9ac0ea3c6ecddfef6e914122b3bb20cb37523c Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 27 Mar 2014 10:20:08 +0000 Subject: Just block all signals --- sinit.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3-70-g09d2