]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
conf-parse: fix pretty bad typo
authorLennart Poettering <lennart@poettering.net>
Tue, 2 Jun 2020 14:49:50 +0000 (16:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Jun 2020 17:32:06 +0000 (19:32 +0200)
src/shared/conf-parser.c

index b04eb3912c19a4f51cd235b7d45993c6c0db7771..2eda6ae03ac9418f725399d6f4e92a5f5de47069 100644 (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;