conf-parse: fix pretty bad typo

This commit is contained in:
Lennart Poettering
2020-06-02 19:32:06 +02:00
parent 22ed4a6d9a
commit 5aca2e6733
+1 -1
View File
@@ -331,7 +331,7 @@ int config_parse(const char *unit,
return r;
}
if (r < 0) {
if (CONFIG_PARSE_WARN)
if (FLAGS_SET(flags, CONFIG_PARSE_WARN))
log_error_errno(r, "%s:%u: Error while reading configuration file: %m", filename, line);
return r;