summaryrefslogtreecommitdiff
path: root/coreutils/chroot.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-05-17 20:40:21 +0000
committerMatt Kraai <kraai@debian.org>2001-05-17 20:40:21 +0000
commit69438154000344f0fc60b12c0d31b297c698b5f4 (patch)
tree863d089701703eb6d4427abd8779a155bd962232 /coreutils/chroot.c
parent231f998abac93316a5d355b17e281b3d73a57e9d (diff)
downloadbusybox-69438154000344f0fc60b12c0d31b297c698b5f4.tar.gz
Fix applet_name.
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)
#else
char shell[] = "/bin/sh";
char *shell_argv[2] = { shell, NULL };
+ applet_name = shell;
shell_main(1, shell_argv);
return EXIT_SUCCESS;
#endif