diff options
-rw-r--r-- | libdaemon/dexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdaemon/dexec.c b/libdaemon/dexec.c index 3df8f2f..98597b9 100644 --- a/libdaemon/dexec.c +++ b/libdaemon/dexec.c @@ -100,6 +100,8 @@ int daemon_execv(const char *dir, int *ret, const char *prog, va_list ap) { } daemon_close_all(-1); + daemon_reset_sigs(-1); + daemon_unblock_sigs(-1); umask(0022); /* Set up a sane umask */ |