From dc4e75ef7ca135c836d22e380847672cf5b3773b Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 2 Sep 2003 02:36:18 +0000 Subject: move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one constant. Vodz last_patch_107 --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ifupdown.c') diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 78f2bb0..1a23bac 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1009,7 +1009,7 @@ static int doit(char *str) case -1: /* failure */ return 0; case 0: /* child */ - execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ); + execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, NULL, environ); exit(127); } waitpid(child, &status, 0); -- cgit v1.1