conf-parse: fix pretty bad typo
authorLennart Poettering <lennart@poettering.net>
Tue, 2 Jun 2020 14:49:50 +0000 (16:49 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Jul 2020 08:26:32 +0000 (10:26 +0200)
(cherry picked from commit 5aca2e6733d35534f82359e5720b3dea1d1332e5)

src/shared/conf-parser.c

index 21b6a658578e76b27e646e3edd5383651fb74e57..811211ccf20c7535cc2af685d0af3ca32c0a8d99 100644 (file)
@@ -330,7 +330,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;