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, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index a6e029e4e..9bc0013d7 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2269,7 +2269,7 @@ static int parse_group(o_string *dest, struct p_context *ctx,
2269 return 1; /* syntax error, groups and arglists don't mix */ 2269 return 1; /* syntax error, groups and arglists don't mix */
2270 } 2270 }
2271 initialize_context(&sub); 2271 initialize_context(&sub);
2272 switch(ch) { 2272 switch (ch) {
2273 case '(': endch=')'; child->subshell=1; break; 2273 case '(': endch=')'; child->subshell=1; break;
2274 case '{': endch='}'; break; 2274 case '{': endch='}'; break;
2275 default: syntax(); /* really logic error */ 2275 default: syntax(); /* really logic error */