mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
conf-parser: mention that unknown lvalue is ignored
This commit is contained in:
parent
bca3222cd6
commit
71b21730d4
@ -137,7 +137,7 @@ static int next_assignment(
|
||||
|
||||
/* Warn about unknown non-extension fields. */
|
||||
if (!(flags & CONFIG_PARSE_RELAXED) && !startswith(lvalue, "X-"))
|
||||
log_syntax(unit, LOG_WARNING, filename, line, 0, "Unknown lvalue '%s' in section '%s'", lvalue, section);
|
||||
log_syntax(unit, LOG_WARNING, filename, line, 0, "Unknown lvalue '%s' in section '%s', ignoring", lvalue, section);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user