aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0b6be4aff..3dc666fbb 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14437,6 +14437,8 @@ forkshell_init(const char *idstr)
14437 *gmpp = fs->gmp; 14437 *gmpp = fs->gmp;
14438 cmdtable = fs->cmdtable; 14438 cmdtable = fs->cmdtable;
14439 14439
14440 CLEAR_RANDOM_T(&random_gen); /* or else $RANDOM repeats in child */
14441
14440 reinitvar(); 14442 reinitvar();
14441 14443
14442 fs->fp(fs); 14444 fs->fp(fs);