config: ignore invalid paths in configPaths

This commit is contained in:
vaxerski 2023-04-12 22:00:39 +01:00
parent a22e1174ee
commit 4bc3f9adbe

View file

@ -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