diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-27 00:21:59 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-27 00:21:59 +0000 |
commit | 3390749e4b3499126ab4298c203610e745a4ec5d (patch) | |
tree | 447ecfa4e5a227b42739fb29dbabac97a91ece1c /ssh-add.c | |
parent | d5bf46e4c08f09fdac235ab7f9066949dd8e1496 (diff) | |
download | openssh-git-3390749e4b3499126ab4298c203610e745a4ec5d.tar.gz |
- markus@cvs.openbsd.org 2002/06/26 14:51:33
[ssh-add.c]
fix exit code for -X/-x
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> @@ -264,7 +264,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 |