aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hush.c1
-rw-r--r--shell/hush.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hush.c b/hush.c
index ed4979818..c55d86f5d 100644
--- a/hush.c
+++ b/hush.c
@@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
1950 lookup_param(dest, ctx, &alt); 1950 lookup_param(dest, ctx, &alt);
1951 break; 1951 break;
1952 case '(': 1952 case '(':
1953 b_getch(input);
1953 process_command_subs(dest, ctx, input, ')'); 1954 process_command_subs(dest, ctx, input, ')');
1954 break; 1955 break;
1955 case '*': 1956 case '*':
diff --git a/shell/hush.c b/shell/hush.c
index ed4979818..c55d86f5d 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1950,6 +1950,7 @@ static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *i
1950 lookup_param(dest, ctx, &alt); 1950 lookup_param(dest, ctx, &alt);
1951 break; 1951 break;
1952 case '(': 1952 case '(':
1953 b_getch(input);
1953 process_command_subs(dest, ctx, input, ')'); 1954 process_command_subs(dest, ctx, input, ')');
1954 break; 1955 break;
1955 case '*': 1956 case '*':