Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4495 from kgilmer/config-directives-no-file-no-error
Browse files Browse the repository at this point in the history
Lower severity of missing include path specified from error to info.
  • Loading branch information
Airblader committed Sep 6, 2021
2 parents 986292c + 46cffcc commit 3bdea50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config_directives.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3bdea50

Please sign in to comment.