diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 03:15:11 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 03:15:11 +0300 |
commit | 3fa36e235021af5810333a52876d29efc661ad60 (patch) | |
tree | 71249d42a3a17ebf3c166826b71fe1453dcb6756 /runit/svlogd.c | |
parent | 73cc54388daeae391698b8afe788f421cf9e394d (diff) |
*: a bit of code shrink
function old new delta
stop_handler 41 38 -3
sulogin_main 508 504 -4
got_cont 4 - -4
cont_handler 11 - -11
startservice 309 297 -12
processorstart 423 409 -14
tcpudpsvd_main 1861 1843 -18
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r-- | runit/svlogd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index 64191281e..9beb9f53f 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c @@ -227,11 +227,12 @@ static void processorstart(struct logdir *ld) int fd; /* child */ - bb_signals(0 + /* Non-ignored signals revert to SIG_DFL on exec anyway */ + /*bb_signals(0 + (1 << SIGTERM) + (1 << SIGALRM) + (1 << SIGHUP) - , SIG_DFL); + , SIG_DFL);*/ sig_unblock(SIGTERM); sig_unblock(SIGALRM); sig_unblock(SIGHUP); |