summaryrefslogtreecommitdiff
path: root/initd/runlst.c
diff options
context:
space:
mode:
Diffstat (limited to 'initd/runlst.c')
-rw-r--r--initd/runlst.c4
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);