diff --git a/src/conf-parser.c b/src/conf-parser.c index 135b175c09..a9b01135e6 100644 --- a/src/conf-parser.c +++ b/src/conf-parser.c @@ -219,8 +219,13 @@ static int parse_line( return 0; } - if (sections && !*section) + if (sections && !*section) { + + if (!relaxed) + log_info("[%s:%u] Assignment outside of section. Ignoring.", filename, line); + return 0; + } e = strchr(l, '='); if (!e) {