diff options
author | 2002-06-12 01:09:52 +0000 | |
---|---|---|
committer | 2002-06-12 01:09:52 +0000 | |
commit | f41129fd65a4debbf3cf7d853e24d851c2a868f4 (patch) | |
tree | ea6cd35a1bead8f2626234fe6b84fd9b76bb8eec /usr.bin/ssh/ssh.c | |
parent | correct prototypes (diff) | |
download | wireguard-openbsd-f41129fd65a4debbf3cf7d853e24d851c2a868f4.tar.xz wireguard-openbsd-f41129fd65a4debbf3cf7d853e24d851c2a868f4.zip |
ssh_connect returns 0 on success
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index cc084921331..f59dc441367 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.178 2002/06/11 23:03:54 markus Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.179 2002/06/12 01:09:52 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -596,7 +596,7 @@ again: if (ssh_connect(host, &hostaddr, options.port, IPv4or6, options.connection_attempts, original_effective_uid == 0 && options.use_privileged_port, - options.proxy_command) < 0) + options.proxy_command) != 0) exit(1); /* |