Unreadable file is a hard error, logged

This commit is contained in:
László Károlyi 2022-02-06 22:06:02 +01:00
parent 84a5134620
commit a1b0f52e89
Signed by: karolyi
GPG Key ID: 2DCAF25E55735BFE
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ public:
if (line[0] == '#' || line.empty())
continue;
if (!std::ifstream(line).good()) {
if (config.log_debug)
std::cout << "FILE UNREADABLE: " << std::quoted(line) << std::endl;
// if (config.log_debug)
std::cout << "FILE UNREADABLE: " << std::quoted(line) << std::endl;
continue;
}
break;