diff options
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r-- | coreutils/chroot.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c index de6a2ea50..ba3e5f864 100644 --- a/coreutils/chroot.c +++ b/coreutils/chroot.c | |||
@@ -2,9 +2,8 @@ | |||
2 | /* | 2 | /* |
3 | * Mini chroot implementation for busybox | 3 | * Mini chroot implementation for busybox |
4 | * | 4 | * |
5 | * | 5 | * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen |
6 | * Copyright (C) 1999,2000,2001 by Lineo, inc. | 6 | * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org> |
7 | * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> | ||
8 | * | 7 | * |
9 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
@@ -48,7 +47,7 @@ int chroot_main(int argc, char **argv) | |||
48 | prog = *argv; | 47 | prog = *argv; |
49 | execvp(*argv, argv); | 48 | execvp(*argv, argv); |
50 | } else { | 49 | } else { |
51 | #if defined shell_main && defined BB_FEATURE_SH_STANDALONE_SHELL | 50 | #if defined shell_main && defined CONFIG_FEATURE_SH_STANDALONE_SHELL |
52 | char shell[] = "/bin/sh"; | 51 | char shell[] = "/bin/sh"; |
53 | char *shell_argv[2] = { shell, NULL }; | 52 | char *shell_argv[2] = { shell, NULL }; |
54 | applet_name = shell; | 53 | applet_name = shell; |