From 5aca2e6733d35534f82359e5720b3dea1d1332e5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Jun 2020 16:49:50 +0200 Subject: [PATCH] conf-parse: fix pretty bad typo --- src/shared/conf-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index b04eb3912c..2eda6ae03a 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;