diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 15:02:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 15:02:55 +0000 |
commit | bdbbb7ec49040563628758a2581a5f8e44f53277 (patch) | |
tree | 040fdad2cf7f793717c7088c24047b654732541b /shell/msh.c | |
parent | c14d39e83a7f55ab9b92e98673a281fd6565c32d (diff) | |
download | busybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.tar.gz busybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.tar.bz2 busybox-w32-bdbbb7ec49040563628758a2581a5f8e44f53277.zip |
make busybox --install work even if /proc/self/exe doesn't exist
# size busybox_old busybox_unstripped
text data bss dec hex filename
680095 2704 15648 698447 aa84f busybox_old
680099 2704 15648 698451 aa853 busybox_unstripped
Diffstat (limited to 'shell/msh.c')
-rw-r--r-- | shell/msh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c index d81a00122..aab805ff5 100644 --- a/shell/msh.c +++ b/shell/msh.c | |||
@@ -3062,7 +3062,7 @@ static const char *rexecve(char *c, char **v, char **envp) | |||
3062 | /* We have to exec here since we vforked. Running | 3062 | /* We have to exec here since we vforked. Running |
3063 | * run_applet_and_exit() won't work and bad things | 3063 | * run_applet_and_exit() won't work and bad things |
3064 | * will happen. */ | 3064 | * will happen. */ |
3065 | execve(CONFIG_BUSYBOX_EXEC_PATH, v, envp); | 3065 | execve(bb_busybox_exec_path, v, envp); |
3066 | } | 3066 | } |
3067 | } | 3067 | } |
3068 | 3068 | ||