aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 9b51f389e..d7a0d761e 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8409,7 +8409,9 @@ int hush_main(int argc, char **argv)
8409 G.global_argc--; 8409 G.global_argc--;
8410 G.global_argv++; 8410 G.global_argv++;
8411 debug_printf("running script '%s'\n", G.global_argv[0]); 8411 debug_printf("running script '%s'\n", G.global_argv[0]);
8412 xfunc_error_retval = 127; /* for "hush /does/not/exist" case */
8412 input = xfopen_for_read(G.global_argv[0]); 8413 input = xfopen_for_read(G.global_argv[0]);
8414 xfunc_error_retval = 1;
8413 remember_FILE(input); 8415 remember_FILE(input);
8414 install_special_sighandlers(); 8416 install_special_sighandlers();
8415 parse_and_run_file(input); 8417 parse_and_run_file(input);