]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Return a non-zero exit code in the event of a fatal-error SSH
authorSimon Tatham <anakin@pobox.com>
Sat, 26 Aug 2006 09:21:52 +0000 (09:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 26 Aug 2006 09:21:52 +0000 (09:21 +0000)
commitcacd67dfd19346529125449ceee6e537caeb05dc
tree722060cc37503b87fe17eccbc4acb35ab03143a4
parent86bb6b7c7cf5c4600e6b472cec7ca61636cb1b14
Return a non-zero exit code in the event of a fatal-error SSH
session termination. `Close window only on clean exit' was not
working properly on Unix in the absence of this:
notify_remote_exit() was being called and ssh_return_exitcode was
returning zero, causing gtk_main_quit() to be called, _before_
connection_fatal() happened.

git-svn-id: http://svn.tartarus.org/sgt/putty@6801 cda61777-01e9-0310-a592-d414129be87e
ssh.c