From 4bc3f9adbe7563817a9e1c6eac6f5e435f7db957 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 12 Apr 2023 22:00:39 +0100 Subject: [PATCH] config: ignore invalid paths in configPaths --- src/config/ConfigManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 3f26594a..c49114d2 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1456,7 +1456,7 @@ void CConfigManager::tick() { int err = stat(cf.c_str(), &fileStat); if (err != 0) { Debug::log(WARN, "Error at ticking config at %s, error %i: %s", cf.c_str(), err, strerror(err)); - return; + continue; } // check if we need to reload cfg