diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runsv.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index ecab8cdf5..61ea240ff 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -380,7 +380,10 @@ static void startservice(struct svdir *s) | |||
380 | xdup2(logpipe.wr, 1); | 380 | xdup2(logpipe.wr, 1); |
381 | } | 381 | } |
382 | } | 382 | } |
383 | /* Non-ignored signals revert to SIG_DFL on exec anyway */ | 383 | /* Non-ignored signals revert to SIG_DFL on exec anyway. |
384 | * But we can get signals BEFORE execl(), this is unlikely | ||
385 | * but wouldn't be good... | ||
386 | */ | ||
384 | /*bb_signals(0 | 387 | /*bb_signals(0 |
385 | + (1 << SIGCHLD) | 388 | + (1 << SIGCHLD) |
386 | + (1 << SIGTERM) | 389 | + (1 << SIGTERM) |