runsv: small optimization
*: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19
This commit is contained in:
parent
48637e0924
commit
f09f4e015b
5 changed files with 7 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue