[ssh-add.c]
     fix exit code for -X/-x
This commit is contained in:
Ben Lindstrom 2002-06-27 00:21:59 +00:00
parent d5bf46e4c0
commit 3390749e4b
2 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,9 @@
- deraadt@cvs.openbsd.org 2002/06/26 14:50:04
[monitor_fdpass.c]
use ssize_t for recvmsg() and sendmsg() return
- markus@cvs.openbsd.org 2002/06/26 14:51:33
[ssh-add.c]
fix exit code for -X/-x
20020626
- (stevesk) [monitor.c] remove duplicate proto15 dispatch entry for PAM
@ -1178,4 +1181,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2304 2002/06/27 00:21:03 mouring Exp $
$Id: ChangeLog,v 1.2305 2002/06/27 00:21:59 mouring Exp $

View File

@ -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