aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chroot.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-17 20:40:21 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-17 20:40:21 +0000
commit76e94801a1526aa135b044f9d1a98b8dd4d1e2bd (patch)
tree863d089701703eb6d4427abd8779a155bd962232 /coreutils/chroot.c
parent7ba6aba795c5812da0b0df5edcfd7f2add46ad71 (diff)
downloadbusybox-w32-76e94801a1526aa135b044f9d1a98b8dd4d1e2bd.tar.gz
busybox-w32-76e94801a1526aa135b044f9d1a98b8dd4d1e2bd.tar.bz2
busybox-w32-76e94801a1526aa135b044f9d1a98b8dd4d1e2bd.zip
Fix applet_name.
git-svn-id: svn://busybox.net/trunk/busybox@2671 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r--coreutils/chroot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c
index c10df7a7c..f2d9b4d00 100644
--- a/coreutils/chroot.c
+++ b/coreutils/chroot.c
@@ -56,6 +56,7 @@ int chroot_main(int argc, char **argv)
56#else 56#else
57 char shell[] = "/bin/sh"; 57 char shell[] = "/bin/sh";
58 char *shell_argv[2] = { shell, NULL }; 58 char *shell_argv[2] = { shell, NULL };
59 applet_name = shell;
59 shell_main(1, shell_argv); 60 shell_main(1, shell_argv);
60 return EXIT_SUCCESS; 61 return EXIT_SUCCESS;
61#endif 62#endif