Return a non-zero exit code in the event of a fatal-error SSH
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 26 Aug 2006 09:21:52 +0000 (09:21 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 26 Aug 2006 09:21:52 +0000 (09:21 +0000)
commit3c112d53d0733f8dcb05d15a4c5e4f9ffffef89b
tree722060cc37503b87fe17eccbc4acb35ab03143a4
parent2cd38976187302c0e7a884c507bcd61546bfa4ba
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
ssh.c