On Thu, Jul 18, 2019 at 11:34 AM Ulrich Windl < [email protected]> wrote:
> Hi! > > I noticed that a line of "=======" in "[Service]" cases the message " > Unknown lvalue '' in section 'Service'". > (systemd 228) > > Shouldn't that be "Parse error at '=======' in section 'Service'"? > Arguably it isn't a parse error – the keyfile parser successfully recognizes the line as assigning the value "======" to the key "". It's only later when the parsed results are interpreted that each key is matched to an internal handler. The error message *could* be clearer if all such errors had a common "Parse error:" prefix, I guess. (And what's the point of calling it an 'lvalue' anyway?...) -- Mantas Mikulėnas
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
