From: Lennart Poettering Date: Tue, 2 Jun 2020 14:49:50 +0000 (+0200) Subject: conf-parse: fix pretty bad typo X-Git-Tag: v246-rc1~217^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5aca2e6733d35534f82359e5720b3dea1d1332e5;p=thirdparty%2Fsystemd.git conf-parse: fix pretty bad typo --- diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index b04eb3912c1..2eda6ae03ac 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -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;