aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index b9e763cc8..87807052c 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4219,7 +4219,7 @@ static struct pipe *parse_stream(char **pstring,
4219 /* (this makes bare "&" cmd a no-op. 4219 /* (this makes bare "&" cmd a no-op.
4220 * bash says: "syntax error near unexpected token '&'") */ 4220 * bash says: "syntax error near unexpected token '&'") */
4221 if (pi->num_cmds == 0 4221 if (pi->num_cmds == 0
4222 IF_HAS_KEYWORDS( && pi->res_word == RES_NONE) 4222 IF_HAS_KEYWORDS(&& pi->res_word == RES_NONE)
4223 ) { 4223 ) {
4224 free_pipe_list(pi); 4224 free_pipe_list(pi);
4225 pi = NULL; 4225 pi = NULL;
@@ -4372,7 +4372,7 @@ static struct pipe *parse_stream(char **pstring,
4372 debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]); 4372 debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
4373 /* Do we sit outside of any if's, loops or case's? */ 4373 /* Do we sit outside of any if's, loops or case's? */
4374 if (!HAS_KEYWORDS 4374 if (!HAS_KEYWORDS
4375 IF_HAS_KEYWORDS(|| (ctx.ctx_res_w == RES_NONE && ctx.old_flag == 0)) 4375 IF_HAS_KEYWORDS(|| (ctx.ctx_res_w == RES_NONE && ctx.old_flag == 0))
4376 ) { 4376 ) {
4377 o_free(&dest); 4377 o_free(&dest);
4378#if !BB_MMU 4378#if !BB_MMU