diff options
Diffstat (limited to 'bin/sh/var.c')
-rw-r--r-- | bin/sh/var.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c index f5ea775..3bba368 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -805,6 +805,7 @@ poplocalvars(void) if (vp == NULL) { /* $- saved */ memcpy(optlist, lvp->text, sizeof optlist); ckfree(lvp->text); + optschanged(); } else if ((lvp->flags & (VUNSET|VSTRFIXED)) == VUNSET) { (void)unsetvar(vp->text); } else { |