From 39f3e3fe96988291fd9c2a66b8adec16c2a0cf1d Mon Sep 17 00:00:00 2001 From: kraai Date: Fri, 4 May 2001 21:20:20 +0000 Subject: Don't reset parents context when we encounter an terminator. Fixes if true; then if true; then true; fi; fi git-svn-id: svn://busybox.net/trunk/busybox@2534 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/hush.c | 1 - 1 file changed, 1 deletion(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index 71e40489d..976fa3805 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1660,7 +1660,6 @@ int reserved_word(o_string *dest, struct p_context *ctx) old->child->group = ctx->list_head; *ctx = *old; /* physical copy */ free(old); - ctx->w=RES_NONE; } b_reset (dest); return 1; -- cgit v1.2.3-55-g6feb