]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit2d633388a1db6569a35925bba0c56e6d4dcf5ea6
tree722060cc37503b87fe17eccbc4acb35ab03143a4
parent44a246aaa7ae23bf160173ed4acbaede5deee45e
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.

[originally from svn r6801]
ssh.c