From f41129fd65a4debbf3cf7d853e24d851c2a868f4 Mon Sep 17 00:00:00 2001 From: markus Date: Wed, 12 Jun 2002 01:09:52 +0000 Subject: ssh_connect returns 0 on success --- usr.bin/ssh/ssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/ssh.c') 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 #include @@ -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); /* -- cgit v1.2.3-59-g8ed1b