aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-02 02:36:18 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-02 02:36:18 +0000
commitd7cb97b8bf8945b6f04bcccbb9be72d638158321 (patch)
treed2ff4fef7b9192de63761935103699569ecbb2ee /coreutils
parent253ff43f62644ee79597eed14b49dcf291f198a1 (diff)
downloadbusybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.tar.gz
busybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.tar.bz2
busybox-w32-d7cb97b8bf8945b6f04bcccbb9be72d638158321.zip
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c
index 5562e58c8..eeed01302 100644
--- a/coreutils/chroot.c
+++ b/coreutils/chroot.c
@@ -43,7 +43,7 @@ int chroot_main(int argc, char **argv)
43 if (argc == 2) { 43 if (argc == 2) {
44 argv -= 2; 44 argv -= 2;
45 if (!(*argv = getenv("SHELL"))) { 45 if (!(*argv = getenv("SHELL"))) {
46 *argv = (char *) "/bin/sh"; 46 *argv = (char *) DEFAULT_SHELL;
47 } 47 }
48 argv[1] = (char *) "-i"; 48 argv[1] = (char *) "-i";
49 } 49 }