aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index d7a0d761e..c80429d5c 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8405,6 +8405,7 @@ int hush_main(int argc, char **argv)
8405 * "bash <script>" (which is never interactive (unless -i?)) 8405 * "bash <script>" (which is never interactive (unless -i?))
8406 * sources $BASH_ENV here (without scanning $PATH). 8406 * sources $BASH_ENV here (without scanning $PATH).
8407 * If called as sh, does the same but with $ENV. 8407 * If called as sh, does the same but with $ENV.
8408 * Also NB, per POSIX, $ENV should undergo parameter expansion.
8408 */ 8409 */
8409 G.global_argc--; 8410 G.global_argc--;
8410 G.global_argv++; 8411 G.global_argv++;