summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-06-26 14:51:34 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-06-26 14:51:34 +0000
commit074e373d05ff7cf8df7288f2809f7705e0a8d5ed (patch)
treeacbfac9bcad6b815b3ad437ae42f61aef3661e32 /usr.bin/ssh
parentbfe5665cb64932da31c49e79b152d089e35c8367 (diff)
fix exit code for -X/-x
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/ssh-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c
index 53a4a3099a7..4ca9c02852c 100644
--- a/usr.bin/ssh/ssh-add.c
+++ b/usr.bin/ssh/ssh-add.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.61 2002/06/19 00:27:55 deraadt Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.62 2002/06/26 14:51:33 markus Exp $");
#include <openssl/evp.h>
@@ -258,7 +258,7 @@ lock_agent(AuthenticationConnection *ac, int lock)
fprintf(stderr, "Failed to %slock agent.\n", lock ? "" : "un");
memset(p1, 0, strlen(p1));
xfree(p1);
- return -1;
+ return (ret);
}
static int