summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 15:02:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-08 15:02:55 +0000
commitbdbbb7ec49040563628758a2581a5f8e44f53277 (patch)
tree040fdad2cf7f793717c7088c24047b654732541b /shell/hush.c
parentc14d39e83a7f55ab9b92e98673a281fd6565c32d (diff)
downloadbusybox-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/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 2a4076ed2..40bcafdd9 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1392,7 +1392,7 @@ static void pseudo_exec_argv(char **argv)
1392 } 1392 }
1393 /* re-exec ourselves with the new arguments */ 1393 /* re-exec ourselves with the new arguments */
1394 debug_printf_exec("re-execing applet '%s'\n", argv[0]); 1394 debug_printf_exec("re-execing applet '%s'\n", argv[0]);
1395 execvp(CONFIG_BUSYBOX_EXEC_PATH, argv); 1395 execvp(bb_busybox_exec_path, argv);
1396 /* If they called chroot or otherwise made the binary no longer 1396 /* If they called chroot or otherwise made the binary no longer
1397 * executable, fall through */ 1397 * executable, fall through */
1398 } 1398 }