Bug#768456: Version 3 including ansgar's and pitti's feedback

Martin Pitt mpitt at debian.org
Mon Nov 10 06:04:22 GMT 2014


Hey Didier,

Didier Roche [2014-11-07 17:16 +0100]:
> The only suggestion I couldn't integrate is Martin's system vs exec one. I
> had to change keep it as system() call as we are evaluating one unit after
> another as the scripts can accepts multiple units

Oh, of course, it's a loop.

> The downside is that we loose the return code, indeed (we could
> concatenate it if needed).

Yes, I think it should save the return code if it's != 0 and return
that. I. e. the script will fail if processing any unit fails.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)




More information about the Pkg-systemd-maintainers mailing list