mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
ldconfig: Do not print a warning for a missing ld.so.conf file
The configuration file is not needed for working system, so printing a warning is not helpful. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
e46efff895
commit
b5a1271c76
@ -1079,9 +1079,10 @@ parse_conf (const char *filename, bool do_chroot)
|
||||
|
||||
if (file == NULL)
|
||||
{
|
||||
error (0, errno, _("\
|
||||
if (errno != ENOENT)
|
||||
error (0, errno, _("\
|
||||
Warning: ignoring configuration file that cannot be opened: %s"),
|
||||
canon);
|
||||
canon);
|
||||
if (canon != filename)
|
||||
free ((char *) canon);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user