From: simon Date: Sat, 26 Aug 2006 09:21:52 +0000 (+0000) Subject: Return a non-zero exit code in the event of a fatal-error SSH X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/3c112d53d0733f8dcb05d15a4c5e4f9ffffef89b?hp=3c112d53d0733f8dcb05d15a4c5e4f9ffffef89b 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: svn://svn.tartarus.org/sgt/putty@6801 cda61777-01e9-0310-a592-d414129be87e ---