config file: don't print warning if config file cannot be opened

This commit is contained in:
Ariadne Conill 2020-09-14 17:17:03 -06:00
parent 02d044c391
commit 5b27d8408c
2 changed files with 12 additions and 0 deletions

View file

@ -52,8 +52,10 @@ lif_config_load(const char *filename)
if (fd == NULL)
{
#if 0
fprintf(stderr, "ifupdown-ng: cannot open config %s: %s\n",
filename, strerror(errno));
#endif
return false;
}