diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-17 17:42:56 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-09-17 17:42:56 +0000 |
commit | b477e24aa267e57584db80796707184045f9885f (patch) | |
tree | 7094fe1cbe360c57e6a0dbcce2fa292d37d3f0b1 /Src/Zle | |
parent | d8ce9807d4e2aaf29b709e707ed948c757c3ef3b (diff) | |
download | zsh-b477e24aa267e57584db80796707184045f9885f.tar.gz zsh-b477e24aa267e57584db80796707184045f9885f.tar.xz zsh-b477e24aa267e57584db80796707184045f9885f.zip |
22727: "use 'exit' to exit" was suboptimal
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 0e34a3fc3..8c65d217f 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -1232,6 +1232,7 @@ execzlefunc(Thingy func, char **args, int set_bindk) !zlell && isfirstln && (zlereadflags & ZLRF_IGNOREEOF)) { showmsg((!islogin) ? "zsh: use 'exit' to exit." : "zsh: use 'logout' to logout."); + use_exit_printed = 1; eofsent = 1; ret = 1; } else { |