Files
Arch-R/packages/network/openssh/patches/openssh-silence-missing-identity-error.patch
Stephan Raue a805621039 openssh: update to openssh-7.2p1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-03-05 12:03:33 +01:00

15 lines
497 B
Diff

diff --git a/sshconnect2.c b/sshconnect2.c
index d6af0b9..22c0aa6 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1320,8 +1320,7 @@ load_identity_file(char *filename, int userprovided)
struct stat st;
if (stat(id->filename, &st) < 0) {
- (id->userprovided ? logit : debug3)("no such identity: %s: %s",
- id->filename, strerror(errno));
+ debug3("no such identity: %s", id->filename);
return NULL;
}
private = key_load_private_type(KEY_UNSPEC, filename, "", NULL, &perm_ok);