summaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index ecab8cd..61ea240 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -380,7 +380,10 @@ static void startservice(struct svdir *s)
xdup2(logpipe.wr, 1);
}
}
- /* Non-ignored signals revert to SIG_DFL on exec anyway */
+ /* Non-ignored signals revert to SIG_DFL on exec anyway.
+ * But we can get signals BEFORE execl(), this is unlikely
+ * but wouldn't be good...
+ */
/*bb_signals(0
+ (1 << SIGCHLD)
+ (1 << SIGTERM)