diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-06-30 18:30:54 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-06-30 18:30:54 +0000 |
commit | 70c4e162c622f1ab6beba4c38652e1fd3d51c398 (patch) | |
tree | 1cc4cbe79cbb340fea655faae7ff1b0ef00e0343 /Src | |
parent | 25e5dd6118c9fadae880a48c78bace0b7282ad44 (diff) | |
download | zsh-70c4e162c622f1ab6beba4c38652e1fd3d51c398.tar.gz zsh-70c4e162c622f1ab6beba4c38652e1fd3d51c398.tar.xz zsh-70c4e162c622f1ab6beba4c38652e1fd3d51c398.zip |
Reset errflag after executing precmd.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c index 3da057de9..cbfaf5ad0 100644 --- a/Src/init.c +++ b/Src/init.c @@ -107,7 +107,6 @@ loop(int toplevel, int justonce) pushheap(); for (;;) { freeheap(); - errflag = 0; hbegin(1); /* init history mech */ if (isset(SHINSTDIN)) { setblock_stdin(); @@ -116,6 +115,7 @@ loop(int toplevel, int justonce) stophist = 3; preprompt(); stophist = hstop; + errflag = 0; } } intr(); /* interrupts on */ |