summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
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 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";
}