diff options
author | Rob Landley | 2006-06-14 01:27:01 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-14 01:27:01 +0000 |
commit | a34b48abe511b0e469d8b74f99902cc4df45d93d (patch) | |
tree | af3980cb1fc3ddea246f93d32d5d9f1dcb436b49 /shell/msh.c | |
parent | c7ddefc0624173de6b74ee5b5b39cb2d354f5ae6 (diff) | |
download | busybox-a34b48abe511b0e469d8b74f99902cc4df45d93d.zip busybox-a34b48abe511b0e469d8b74f99902cc4df45d93d.tar.gz |
Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.
Diffstat (limited to 'shell/msh.c')
-rw-r--r-- | shell/msh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/msh.c b/shell/msh.c index 62e6b6e..bd4b8fd 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 |