summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf-parser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf-parser.c b/conf-parser.c
index 712b4e489c..6f5361f9c8 100644
--- a/conf-parser.c
+++ b/conf-parser.c
@@ -63,7 +63,10 @@ static int next_assignment(
return t->parse(filename, line, section, lvalue, rvalue, t->data, userdata);
}
- log_info("[%s:%u] Unknown lvalue '%s' in section '%s'. Ignoring.", filename, line, lvalue, strna(section));
+ /* Warn about unknown non-extension fields. */
+ if (!startswith(lvalue, "X-"))
+ log_info("[%s:%u] Unknown lvalue '%s' in section '%s'. Ignoring.", filename, line, lvalue, strna(section));
+
return 0;
}