1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

dirmngr: Tune down err on missing ldapservers file

* dirmngr/dirmngr.c (parse_ldapservers_file): Tune down error
in case no such file exists.

--
This is hardly an error because by default such a file
does not exist. This caused trouble in support because
people think "Oh the system prints an error".

GnuPG-Bug-Id: T3539
This commit is contained in:
Andre Heinecke 2019-11-12 10:38:41 +01:00
parent 4c295646ba
commit 40daa0bc0b
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -1638,7 +1638,7 @@ parse_ldapserver_file (const char* filename)
fp = es_fopen (filename, "r"); fp = es_fopen (filename, "r");
if (!fp) if (!fp)
{ {
log_error (_("error opening '%s': %s\n"), filename, strerror (errno)); log_info ("failed to open '%s': %s\n", filename, strerror (errno));
return NULL; return NULL;
} }