aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 8c3e7c551..735cb4cee 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -50,7 +50,6 @@
50 * 50 *
51 * TODOs: 51 * TODOs:
52 * grep for "TODO" and fix (some of them are easy) 52 * grep for "TODO" and fix (some of them are easy)
53 * $var refs in function do not pick up values set by "var=val func"
54 * builtins: ulimit 53 * builtins: ulimit
55 * follow IFS rules more precisely, including update semantics 54 * follow IFS rules more precisely, including update semantics
56 * 55 *
@@ -4110,8 +4109,11 @@ static int run_list(struct pipe *pi)
4110 } 4109 }
4111#endif 4110#endif
4112#if ENABLE_HUSH_FUNCTIONS 4111#if ENABLE_HUSH_FUNCTIONS
4113 if (G.flag_return_in_progress == 1) 4112 if (G.flag_return_in_progress == 1) {
4114 goto check_jobs_and_break; 4113 /* same as "goto check_jobs_and_break" */
4114 checkjobs(NULL);
4115 break;
4116 }
4115#endif 4117#endif
4116 } else if (pi->followup == PIPE_BG) { 4118 } else if (pi->followup == PIPE_BG) {
4117 /* What does bash do with attempts to background builtins? */ 4119 /* What does bash do with attempts to background builtins? */