projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231f998
)
Fix applet_name.
author
Matt Kraai
<kraai@debian.org>
Thu, 17 May 2001 20:40:21 +0000
(20:40 -0000)
committer
Matt Kraai
<kraai@debian.org>
Thu, 17 May 2001 20:40:21 +0000
(20:40 -0000)
chroot.c
patch
|
blob
|
history
coreutils/chroot.c
patch
|
blob
|
history
diff --git
a/chroot.c
b/chroot.c
index c10df7a7c8cc35d0597e652feec7c52b0c31dd84..f2d9b4d00b4d50103f6fe3d9a76960d9fd5fc06b 100644
(file)
--- 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
diff --git
a/coreutils/chroot.c
b/coreutils/chroot.c
index c10df7a7c8cc35d0597e652feec7c52b0c31dd84..f2d9b4d00b4d50103f6fe3d9a76960d9fd5fc06b 100644
(file)
--- 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