aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/input.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2011-02-04 22:47:55 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2011-02-04 22:47:55 +0000
commit3835f47c7e144fc73123f5d5706c6ec666cf3ae4 (patch)
tree88fab75180accb5d4fe09924cbd01e047b9e4903 /bin/sh/input.c
parent9f2e8bdff315385f44af49b71b667cd09d480f84 (diff)
Notes
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 21a91344a1028..e7baed325d6d0 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