[BusyBox-cvs] busybox/coreutils chroot.c,1.29,1.30
Glenn McGrath
bug1 at busybox.net
Tue Sep 2 02:36:10 UTC 2003
Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv18900/coreutils
Modified Files:
chroot.c
Log Message:
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant.
Vodz last_patch_107
Index: chroot.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/chroot.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- chroot.c 14 Jul 2003 21:20:43 -0000 1.29
+++ chroot.c 2 Sep 2003 02:36:07 -0000 1.30
@@ -43,7 +43,7 @@
if (argc == 2) {
argv -= 2;
if (!(*argv = getenv("SHELL"))) {
- *argv = (char *) "/bin/sh";
+ *argv = (char *) DEFAULT_SHELL;
}
argv[1] = (char *) "-i";
}
More information about the busybox-cvs
mailing list