config: demote “no configuration found, using defaults” to a mere warning

And don’t notify the user in the terminal window, only log it on
stderr.
This commit is contained in:
Daniel Eklöf 2021-06-10 20:40:01 +02:00
parent 41a223e1bd
commit 955ecbd19a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 4 additions and 1 deletions

View file

@ -2662,7 +2662,7 @@ config_load(struct config *conf, const char *conf_path,
} else {
conf_file = open_config();
if (conf_file.fd < 0) {
LOG_AND_NOTIFY_WARN("no configuration found, using defaults");
LOG_WARN("no configuration found, using defaults");
ret = !errors_are_fatal;
goto out;
}