mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
openssh: add cosmetic patch to silence 'no such identity: xxxx' errors
This commit is contained in:
parent
4b9b515e15
commit
60d8f22457
@ -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