From 2cb64e48fcd664067f4bd87e8f46fad694c3c979 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 15 Apr 2018 13:21:34 +0200 Subject: Move initd signal setup to platform specific file Signed-off-by: David Oberhollenzer --- initd/runlst.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'initd/runlst.c') diff --git a/initd/runlst.c b/initd/runlst.c index d1311a4..83823f9 100644 --- a/initd/runlst.c +++ b/initd/runlst.c @@ -26,11 +26,9 @@ static int child_setup(const char *ctty) { - sigset_t mask; int fd; - sigemptyset(&mask); - sigprocmask(SIG_SETMASK, &mask, NULL); + sigreset(); if (ctty != NULL) { fd = open(ctty, O_RDWR); -- cgit v1.2.3