From 8e31d4a06162f8780e946408278070cb5f9847bc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 29 Dec 2015 21:42:30 +0100 Subject: close the timers when running job/hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/daemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2