diff options
author | Denis Vlasenko | 2007-06-08 15:02:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-06-08 15:02:55 +0000 |
commit | bdbbb7ec49040563628758a2581a5f8e44f53277 (patch) | |
tree | 040fdad2cf7f793717c7088c24047b654732541b /shell/ash.c | |
parent | c14d39e83a7f55ab9b92e98673a281fd6565c32d (diff) | |
download | busybox-bdbbb7ec49040563628758a2581a5f8e44f53277.zip busybox-bdbbb7ec49040563628758a2581a5f8e44f53277.tar.gz |
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/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index ea10a65..29d8713 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -6471,7 +6471,7 @@ tryexec(char *cmd, char **argv, char **envp) run_current_applet_and_exit(argv); } /* re-exec ourselves with the new arguments */ - execve(CONFIG_BUSYBOX_EXEC_PATH, argv, envp); + execve(bb_busybox_exec_path, argv, envp); /* If they called chroot or otherwise made the binary no longer * executable, fall through */ } |