summaryrefslogtreecommitdiffstats
path: root/src/shared/conf-parser.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-06-02 16:49:50 +0200
committerLennart Poettering <lennart@poettering.net>2020-06-02 19:32:06 +0200
commit5aca2e6733d35534f82359e5720b3dea1d1332e5 (patch)
treebc4633663ab77366d614302d391bf098eb2f9f42 /src/shared/conf-parser.c
parentfs-util: add stat_warn_permissions() that operates on struct stat instead of fd (diff)
downloadsystemd-5aca2e6733d35534f82359e5720b3dea1d1332e5.tar.xz
systemd-5aca2e6733d35534f82359e5720b3dea1d1332e5.zip
conf-parse: fix pretty bad typo
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r--src/shared/conf-parser.c2
1 files changed, 1 insertions, 1 deletions
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;