aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 92ec89fa..38f6d1ad 100644
--- a/main.c
+++ b/main.c
@@ -80,6 +80,7 @@ static void toy_singleinit(struct toy_list *which, char *argv[])
}
toys.old_umask = umask(0);
if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask);
+ toys.signalfd--;
}
// Setup toybox global state for this command.