mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #2120 from stefansaraev/openssh
openssh: add cosmetic patch to silence 'no such identity: xxxx' errors
This commit is contained in:
commit
ed925ce674
@ -0,0 +1,14 @@
|
||||
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(filename, &st) < 0) {
|
||||
- (userprovided ? logit : debug3)("no such identity: %s: %s",
|
||||
- filename, strerror(errno));
|
||||
+ debug3("no such identity: %s", filename);
|
||||
return NULL;
|
||||
}
|
||||
private = key_load_private_type(KEY_UNSPEC, filename, "", NULL, &perm_ok);
|
Loading…
x
Reference in New Issue
Block a user