aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-05-02 16:26:12 +0000
committerMatt Kraai <kraai@debian.org>2001-05-02 16:26:12 +0000
commit9f8caf134fc702d23c1d4f1a102883b54b684191 (patch)
treec7c3b667eef4b4ec7b6ee787fc2a40989c75b550 /shell
parentbafd94f154d0a6fdf04706f7cf5687dcc8ba634b (diff)
downloadbusybox-9f8caf134fc702d23c1d4f1a102883b54b684191.tar.gz
Fix $(...) construction. Noted and patched by Larry Doolittle
<ldoolitt@recycle.lbl.gov>. I'm just a patch whore. :)
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
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
lookup_param(dest, ctx, &alt);
break;
case '(':
+ b_getch(input);
process_command_subs(dest, ctx, input, ')');
break;
case '*':