summaryrefslogtreecommitdiffstats
path: root/bin/sh/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/input.c')
-rw-r--r--bin/sh/input.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c
index 21a9134..e7baed3 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -119,12 +119,7 @@ INIT {
RESET {
popallfiles();
- if (exception != EXSHELLPROC)
- parselleft = parsenleft = 0; /* clear input buffer */
-}
-
-SHELLPROC {
- popallfiles();
+ parselleft = parsenleft = 0; /* clear input buffer */
}
#endif
OpenPOWER on IntegriCloud