about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-28 13:26:59 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-28 13:26:59 +0000
commitf0f5b514376db58205d45a1488c312e379104da4 (patch)
treeeb32b370c9a8bcc1d0d116d3c3b65f82cc49acf2 /Src/exec.c
parent6c83502a49f124f1d66640353334f3b1ccdb8ddc (diff)
downloadzsh-f0f5b514376db58205d45a1488c312e379104da4.tar.gz
zsh-f0f5b514376db58205d45a1488c312e379104da4.tar.xz
zsh-f0f5b514376db58205d45a1488c312e379104da4.zip
zsh-workers/9903
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 4c831fe26..f186a1be2 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2557,7 +2557,9 @@ gethere(char *str, int typ)
 	int ef = errflag;
 
 	parsestr(buf);
-	errflag = ef;
+
+	if (!errflag)
+	    errflag = ef;
     }
     s = dupstring(buf);
     zfree(buf, bsiz);