aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 7d0416796..b5cf86132 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -5303,6 +5303,9 @@ static int handle_dollar(o_string *as_string,
5303 all_digits = true; 5303 all_digits = true;
5304 goto char_ok; 5304 goto char_ok;
5305 } 5305 }
5306 /* They're being verbose and doing ${?} */
5307 if (i_peek(input) == '}' && strchr("$!?#*@_", ch))
5308 goto char_ok;
5306 } 5309 }
5307 5310
5308 if (expansion < 2 5311 if (expansion < 2