summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-27 00:21:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-27 00:21:59 +0000
commit3390749e4b3499126ab4298c203610e745a4ec5d (patch)
tree447ecfa4e5a227b42739fb29dbabac97a91ece1c /ssh-add.c
parentd5bf46e4c08f09fdac235ab7f9066949dd8e1496 (diff)
downloadopenssh-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 176fd85c..51490b77 100644
--- a/ssh-add.c
+++ b/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>
@@ -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