about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/Zle/zle_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 2ed250e14..38552cef4 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -835,6 +835,7 @@ zleread(char *lp, char *rp, int flags, int context)
 	args[1] = NULL;
 	execzlefunc(initthingy, args);
 	unrefthingy(initthingy);
+	errflag = retflag = 0;
     }
 
     zlecore();