Fix applet_name.

This commit is contained in:
Matt Kraai 2001-05-17 20:40:21 +00:00
parent 231f998aba
commit 6943815400
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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