summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ssh-add.c b/ssh-add.c
index d58c82156..b31a88636 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -203,9 +203,6 @@ add_file(AuthenticationConnection *ac, const char *filename)
203 if (confirm != 0) 203 if (confirm != 0)
204 fprintf(stderr, 204 fprintf(stderr,
205 "The user has to confirm each use of the key\n"); 205 "The user has to confirm each use of the key\n");
206 } else if (ssh_add_identity(ac, private, comment)) {
207 fprintf(stderr, "Identity added: %s (%s)\n", filename, comment);
208 ret = 0;
209 } else { 206 } else {
210 fprintf(stderr, "Could not add identity: %s\n", filename); 207 fprintf(stderr, "Could not add identity: %s\n", filename);
211 } 208 }