[PATCH 4/5] upstart: add UpstartJob= to service desktop files

Lennart Poettering mzqohf at 0pointer.de
Thu Dec 23 03:35:48 PST 2010


On Wed, 22.12.10 15:27, Scott James Remnant (scott at netsplit.com) wrote:

> +    {
> +      if (strchr ("YyTt", upstart_job_raw[0]))
> +        upstart_job = TRUE;
> +    }
> +

I can't say I am a particular fan of parsing booleans like that, where
every thinkable string is acceptable without error/warning message including
the empty string.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the dbus mailing list