[systemd-devel] [PATCH] condition-util: do not validate condition if paramater is garbage

Lennart Poettering lennart at poettering.net
Mon Aug 18 12:06:09 PDT 2014

On Mon, 18.08.14 20:33, Ronny Chevalier (chevalier.ronny at gmail.com) wrote:

> By the way, there is a couple of places, like this one, where we
> should add a warning when we could not parse the boolean, I think.

yeah, we should. but this is actually not as easy as it sounds, since we
really should generate such warning while parsing the unit files, not
only when we test the conditions later on. But the current code really
doesn't make that easy...


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list