diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-02 02:36:18 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-02 02:36:18 +0000 |
commit | dc4e75ef7ca135c836d22e380847672cf5b3773b (patch) | |
tree | d2ff4fef7b9192de63761935103699569ecbb2ee /networking/ifupdown.c | |
parent | 005f83adf511ab89296639abbef737ad4e5826f9 (diff) | |
download | busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.gz busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.bz2 busybox-w32-dc4e75ef7ca135c836d22e380847672cf5b3773b.zip |
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant.
Vodz last_patch_107
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 78f2bb0f1..1a23bac37 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -1009,7 +1009,7 @@ static int doit(char *str) | |||
1009 | case -1: /* failure */ | 1009 | case -1: /* failure */ |
1010 | return 0; | 1010 | return 0; |
1011 | case 0: /* child */ | 1011 | case 0: /* child */ |
1012 | execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ); | 1012 | execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, NULL, environ); |
1013 | exit(127); | 1013 | exit(127); |
1014 | } | 1014 | } |
1015 | waitpid(child, &status, 0); | 1015 | waitpid(child, &status, 0); |