Fix applet_name.
This commit is contained in:
parent
231f998aba
commit
6943815400
1
chroot.c
1
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user