aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon.c b/src/daemon.c
index d99b74a..decd23e 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -296,6 +296,8 @@ run_job_or_hook(struct job *job, const char *hook)
case 0:
close(SOCK_FILENO);
close(STATE_FILENO);
+ close(BOOT_FILENO);
+ close(REAL_FILENO);
environ = envp;
execve(*argv, argv, envp);
exit(1);