aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-10 18:40:01 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-10 18:40:01 +0000
commit955ecbd19abb2d30e41426f074ac5eb369fc990c (patch)
tree686775fb2961bf70146b87762c5a92e243a216a3 /config.c
parentconfig: change “no configuration found, using defaults” from error to warning (diff)
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.
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index f032c024..8bb01a3d 100644
--- a/config.c
+++ b/config.c
@@ -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;
}