diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 00:15:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-09 00:15:11 +0000 |
commit | 3fa36e235021af5810333a52876d29efc661ad60 (patch) | |
tree | 71249d42a3a17ebf3c166826b71fe1453dcb6756 /util-linux/script.c | |
parent | 73cc54388daeae391698b8afe788f421cf9e394d (diff) | |
download | busybox-w32-3fa36e235021af5810333a52876d29efc661ad60.tar.gz busybox-w32-3fa36e235021af5810333a52876d29efc661ad60.tar.bz2 busybox-w32-3fa36e235021af5810333a52876d29efc661ad60.zip |
*: 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 'util-linux/script.c')
-rw-r--r-- | util-linux/script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/script.c b/util-linux/script.c index 39ec546a7..2e103fd0f 100644 --- a/util-linux/script.c +++ b/util-linux/script.c | |||
@@ -179,7 +179,8 @@ int script_main(int argc UNUSED_PARAM, char **argv) | |||
179 | setsid(); | 179 | setsid(); |
180 | ioctl(0, TIOCSCTTY, 0 /* 0: don't forcibly steal */); | 180 | ioctl(0, TIOCSCTTY, 0 /* 0: don't forcibly steal */); |
181 | 181 | ||
182 | /* signal(SIGCHLD, SIG_DFL); - exec does this for us */ | 182 | /* Non-ignored signals revert to SIG_DFL on exec anyway */ |
183 | /*signal(SIGCHLD, SIG_DFL);*/ | ||
183 | execl(shell, shell, shell_opt, shell_arg, NULL); | 184 | execl(shell, shell, shell_opt, shell_arg, NULL); |
184 | bb_simple_perror_msg_and_die(shell); | 185 | bb_simple_perror_msg_and_die(shell); |
185 | } | 186 | } |