aboutsummaryrefslogtreecommitdiff
path: root/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'chroot.c')
-rw-r--r--chroot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chroot.c b/chroot.c
index c10df7a7c..f2d9b4d00 100644
--- a/chroot.c
+++ b/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