1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

zsh-workers/7549

This commit is contained in:
Tanaka Akira 1999-08-30 15:24:22 +00:00
parent 928fa0b3a5
commit b600e4733c

View file

@ -1043,7 +1043,7 @@ hend(void)
chline = NULL;
histactive = 0;
if (isset(SHAREHISTORY) || isset(INCAPPENDHISTORY))
savehistfile(hf, 1, HFILE_USE_OPTIONS | HFILE_FAST);
savehistfile(hf, 0, HFILE_USE_OPTIONS | HFILE_FAST);
unlockhistfile(hf); /* It's OK to call this even if we aren't locked */
return !(flag & HISTFLAG_NOEXEC || errflag);
}