summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runner/executor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/executor.c b/runner/executor.c
index e562d5b2..cc313dec 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -950,6 +950,7 @@ static int execute_next_entry(struct execute_state *state,
sigaddset(&mask, SIGINT);
sigaddset(&mask, SIGTERM);
sigaddset(&mask, SIGQUIT);
+ sigaddset(&mask, SIGHUP);
sigprocmask(SIG_BLOCK, &mask, NULL);
sigfd = signalfd(-1, &mask, O_CLOEXEC);