From a34b48abe511b0e469d8b74f99902cc4df45d93d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 14 Jun 2006 01:27:01 +0000 Subject: Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH. --- shell/msh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/msh.c') diff --git a/shell/msh.c b/shell/msh.c index 62e6b6e01..bd4b8fdb2 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3306,8 +3306,7 @@ char *c, **v, **envp; /* We have to exec here since we vforked. Running * run_applet_by_name() won't work and bad things * will happen. */ - execve("/proc/self/exe", v, envp); - execve("busybox", v, envp); + execve(CONFIG_BUSYBOX_EXEC_PATH, v, envp); } #endif -- cgit v1.2.3