From 0d5f323f5c656b8af2ef8314256eb580d766d75c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 24 Dec 2001 07:29:44 +0000 Subject: try all listed keys.. how did this get broken? --- usr.bin/ssh/ssh-add.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index ad853f1c074..28728f35ef4 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.48 2001/12/21 10:06:43 djm Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.49 2001/12/24 07:29:43 deraadt Exp $"); #include @@ -312,7 +312,7 @@ main(int argc, char **argv) } } else { for(i = 0; i < argc; i++) { - if (do_file(ac, deleting, argv[1]) == -1) + if (do_file(ac, deleting, argv[i]) == -1) ret = 1; } } -- cgit v1.2.3