aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-26 12:29:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-26 12:29:59 +0000
commitf09f4e015bffe6db5d7e63d47b23f22db4806736 (patch)
tree38393e9a60430aa64541370c68151101e62a64ec /networking
parent48637e0924dcd13629ebf3aeffa80cdda1beb5af (diff)
downloadbusybox-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 'networking')
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 07855f07f..c9371cce8 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -982,7 +982,7 @@ static int doit(char *str)
982 case -1: /* failure */ 982 case -1: /* failure */
983 return 0; 983 return 0;
984 case 0: /* child */ 984 case 0: /* child */
985 execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, NULL, my_environ); 985 execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, (char *) NULL, my_environ);
986 _exit(127); 986 _exit(127);
987 } 987 }
988 safe_waitpid(child, &status, 0); 988 safe_waitpid(child, &status, 0);