summaryrefslogtreecommitdiff
path: root/src/conf-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf-parser.c')
-rw-r--r--src/conf-parser.c7
1 files changed, 6 insertions, 1 deletions
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) {