summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index c97c496..f709b8c 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -118,9 +118,9 @@ INIT {
}
RESET {
+ popallfiles();
if (exception != EXSHELLPROC)
parselleft = parsenleft = 0; /* clear input buffer */
- popallfiles();
}
SHELLPROC {
OpenPOWER on IntegriCloud