diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-26 12:29:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-26 12:29:59 +0000 |
commit | f09f4e015bffe6db5d7e63d47b23f22db4806736 (patch) | |
tree | 38393e9a60430aa64541370c68151101e62a64ec /util-linux/script.c | |
parent | 48637e0924dcd13629ebf3aeffa80cdda1beb5af (diff) | |
download | busybox-w32-f09f4e015bffe6db5d7e63d47b23f22db4806736.tar.gz busybox-w32-f09f4e015bffe6db5d7e63d47b23f22db4806736.tar.bz2 busybox-w32-f09f4e015bffe6db5d7e63d47b23f22db4806736.zip |
runsv: small optimization
*: more paranoia around passing NULL to execl[e]
function old new delta
custom 240 221 -19
Diffstat (limited to 'util-linux/script.c')
-rw-r--r-- | util-linux/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/script.c b/util-linux/script.c index 2e103fd0f..a9f24b10e 100644 --- a/util-linux/script.c +++ b/util-linux/script.c | |||
@@ -181,6 +181,6 @@ int script_main(int argc UNUSED_PARAM, char **argv) | |||
181 | 181 | ||
182 | /* Non-ignored signals revert to SIG_DFL on exec anyway */ | 182 | /* Non-ignored signals revert to SIG_DFL on exec anyway */ |
183 | /*signal(SIGCHLD, SIG_DFL);*/ | 183 | /*signal(SIGCHLD, SIG_DFL);*/ |
184 | execl(shell, shell, shell_opt, shell_arg, NULL); | 184 | execl(shell, shell, shell_opt, shell_arg, (char *) NULL); |
185 | bb_simple_perror_msg_and_die(shell); | 185 | bb_simple_perror_msg_and_die(shell); |
186 | } | 186 | } |