diff options
author | Denis Vlasenko | 2009-02-26 12:29:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-02-26 12:29:59 +0000 |
commit | f09f4e015bffe6db5d7e63d47b23f22db4806736 (patch) | |
tree | 38393e9a60430aa64541370c68151101e62a64ec /util-linux | |
parent | 48637e0924dcd13629ebf3aeffa80cdda1beb5af (diff) | |
download | busybox-f09f4e015bffe6db5d7e63d47b23f22db4806736.zip busybox-f09f4e015bffe6db5d7e63d47b23f22db4806736.tar.gz |
runsv: small optimization
*: more paranoia around passing NULL to execl[e]
function old new delta
custom 240 221 -19
Diffstat (limited to 'util-linux')
-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 2e103fd..a9f24b1 100644 --- a/util-linux/script.c +++ b/util-linux/script.c @@ -181,6 +181,6 @@ int script_main(int argc UNUSED_PARAM, char **argv) /* Non-ignored signals revert to SIG_DFL on exec anyway */ /*signal(SIGCHLD, SIG_DFL);*/ - execl(shell, shell, shell_opt, shell_arg, NULL); + execl(shell, shell, shell_opt, shell_arg, (char *) NULL); bb_simple_perror_msg_and_die(shell); } |