diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-15 13:21:34 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-15 13:24:13 +0200 |
commit | 2cb64e48fcd664067f4bd87e8f46fad694c3c979 (patch) | |
tree | ebec8a79b361a0f0b5eb05da1f52f56ee974b368 /initd/runlst.c | |
parent | 6e839a4ad544218317ceebd85e83ab5a8a8e21cc (diff) |
Move initd signal setup to platform specific file
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'initd/runlst.c')
-rw-r--r-- | initd/runlst.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |