*: 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
This commit is contained in:
@@ -179,7 +179,8 @@ int script_main(int argc UNUSED_PARAM, char **argv)
|
||||
setsid();
|
||||
ioctl(0, TIOCSCTTY, 0 /* 0: don't forcibly steal */);
|
||||
|
||||
/* signal(SIGCHLD, SIG_DFL); - exec does this for us */
|
||||
/* Non-ignored signals revert to SIG_DFL on exec anyway */
|
||||
/*signal(SIGCHLD, SIG_DFL);*/
|
||||
execl(shell, shell, shell_opt, shell_arg, NULL);
|
||||
bb_simple_perror_msg_and_die(shell);
|
||||
}
|
||||
|
Reference in New Issue
Block a user