On Monday 06 Aug 2012 12:16:02 Lennart Poettering wrote:
> On Mon, 06.08.12 12:06, Kay Sievers ([email protected]) wrote:
> > 
> > How about:
> >   ExitStatusFailure=
> >   ExitStatusSuccess=
> 
> success and failure should be parititions of
> the exit status set, i.e. all exits that are not failure are success and
> all that are success are not failure, and there is nothing but
> success/failure in the set.

Could allow either, but make it an error to use both. So if you configure 
ExitStatusSuccess, then any values not listed are failures, but if you 
configure ExitStatusFailure, then any values not listed are successes.

Or just have ExitStatusSuccess, but allow "!" as the first character which 
negates the list, meaning "any status except those listed is success"

Maybe?

Adam
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to