summaryrefslogtreecommitdiffstats
path: root/bin/sh/parser.c
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>2000-05-15 13:02:07 +0000
committercracauer <cracauer@FreeBSD.org>2000-05-15 13:02:07 +0000
commit5b8d64c4b3e5aa2862b74a4e4749c98469d3f16a (patch)
tree9f997bb2b9680e9a7d593bedc1acb6a5c59da753 /bin/sh/parser.c
parent31c479dcd85f2b95f5deb1650f3af4195737f3d6 (diff)
downloadFreeBSD-src-5b8d64c4b3e5aa2862b74a4e4749c98469d3f16a.zip
FreeBSD-src-5b8d64c4b3e5aa2862b74a4e4749c98469d3f16a.tar.gz
Fix parsing of string for eval command.
PR: 18447 Submitted by: Koji Mori <mori@tri.asanuma.co.jp>
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r--bin/sh/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index 9b141cc..8603fe1 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -137,6 +137,7 @@ parsecmd(interact)
{
int t;
+ tokpushback = 0;
doprompt = interact;
if (doprompt)
setprompt(1);
OpenPOWER on IntegriCloud