aboutsummaryrefslogtreecommitdiff
path: root/shell/msh.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/msh.c')
-rw-r--r--shell/msh.c3
1 files changed, 1 insertions, 2 deletions
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