summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 99fdbce..18ccc13 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10018,7 +10018,7 @@ mklocal(char *name, int flags)
setvareq(name, flags);
else
/* "local VAR" unsets VAR: */
- setvar0(name, NULL);
+ unsetvar(name);
}
}
lvp->vp = vp;