From dc4e75ef7ca135c836d22e380847672cf5b3773b Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 2 Sep 2003 02:36:18 +0000 Subject: move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one constant. Vodz last_patch_107 --- coreutils/chroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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"; } -- cgit v1.1