diff options
author | Matt Kraai <kraai@debian.org> | 2001-05-04 21:20:20 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-05-04 21:20:20 +0000 |
commit | d24f878546806aa8fd50dc95fe3cc111ad10f92f (patch) | |
tree | 5bdc487480e7b798ae79f1ec4a67027d8e6509b7 /shell | |
parent | 7526f035f4feea48d4c686a2c5c484c4175976f9 (diff) |
Don't reset parents context when we encounter an terminator. Fixes
if true; then if true; then true; fi; fi
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |