Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.

This commit is contained in:
Rob Landley
2006-06-14 01:27:01 +00:00
parent c7ddefc062
commit a34b48abe5
2 changed files with 2 additions and 5 deletions

View File

@ -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