Re: new su behaviour & exit status
Nico Golde <firstname.lastname@example.org> wrote:
> because of the new su behaviour its no longer possible to
> get any exit status from a command executed with su -c.
> Does anyone knows a fix for this or have any useful links on
> how to "workaround" this behaviour?
You could simply use start-stop-daemon instead of su.
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde