summaryrefslogtreecommitdiff
path: root/coreutils/chroot.c
diff options
context:
space:
mode:
authorGlenn L McGrath2003-09-02 02:36:18 +0000
committerGlenn L McGrath2003-09-02 02:36:18 +0000
commitdc4e75ef7ca135c836d22e380847672cf5b3773b (patch)
treed2ff4fef7b9192de63761935103699569ecbb2ee /coreutils/chroot.c
parent005f83adf511ab89296639abbef737ad4e5826f9 (diff)
downloadbusybox-dc4e75ef7ca135c836d22e380847672cf5b3773b.zip
busybox-dc4e75ef7ca135c836d22e380847672cf5b3773b.tar.gz
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant. Vodz last_patch_107
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r--coreutils/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c
index 5562e58..eeed013 100644
--- a/coreutils/chroot.c
+++ b/coreutils/chroot.c
@@ -43,7 +43,7 @@ int chroot_main(int argc, char **argv)
if (argc == 2) {
argv -= 2;
if (!(*argv = getenv("SHELL"))) {
- *argv = (char *) "/bin/sh";
+ *argv = (char *) DEFAULT_SHELL;
}
argv[1] = (char *) "-i";
}