aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 34d5d6d68..255d57e62 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2364,6 +2364,10 @@ setvareq(char *s, int flags)
2364 } 2364 }
2365 2365
2366 flags |= vp->flags & ~(VTEXTFIXED|VSTACK|VNOSAVE|VUNSET); 2366 flags |= vp->flags & ~(VTEXTFIXED|VSTACK|VNOSAVE|VUNSET);
2367#if ENABLE_ASH_RANDOM_SUPPORT
2368 if (flags & VUNSET)
2369 flags &= ~VDYNAMIC;
2370#endif
2367 } else { 2371 } else {
2368 /* variable s is not found */ 2372 /* variable s is not found */
2369 if (flags & VNOSET) 2373 if (flags & VNOSET)