Merge pull request #4495 from kgilmer/config-directives-no-file-no-error

Lower severity of missing include path specified from error to info.
This commit is contained in:
Ingo Bürk 2021-09-06 12:18:34 +02:00 committed by GitHub
commit 3bdea50548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,7 @@ CFGFUN(include, const char *pattern) {
for (size_t i = 0; i < p.we_wordc; i++) {
char resolved_path[PATH_MAX] = {'\0'};
if (realpath(w[i], resolved_path) == NULL) {
ELOG("realpath(%s): %s\n", w[i], strerror(errno));
result->has_errors = true;
LOG("Skipping %s: %s\n", w[i], strerror(errno));
continue;
}