From 955ecbd19abb2d30e41426f074ac5eb369fc990c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 10 Jun 2021 20:40:01 +0200 Subject: config: demote “no configuration found, using defaults” to a mere warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And don’t notify the user in the terminal window, only log it on stderr. --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.c') 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; } -- cgit v1.3