]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Return zero when reporting our version.
authorOwen Dunn <owen@greenend.org.uk>
Wed, 15 Feb 2017 19:50:14 +0000 (19:50 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Wed, 15 Feb 2017 20:54:10 +0000 (20:54 +0000)
commit52a4ccad27ad7334c63fbc02a5fd2bb37e83bc88
tree1424efc2bb8b36f0fa368aa257ee765b61075ded
parentfb839a27fb8cab36b42c7e19bfd5281f98641676
Return zero when reporting our version.

When called with -V to ask for our version, return 0 rather than 1.
This is the usual behaviour observed by ssh(1) and other Unix commands.
Also use exit() rather than cleanup_exit() in pscp.c and psftp.c ; at
this point we have nothing to cleanup!
pscp.c
psftp.c
unix/uxpgnt.c
unix/uxplink.c
windows/winplink.c