run-parts: add --exit-on-error | -e support
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 28 Feb 2013 08:59:23 +0000 (09:59 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Feb 2013 08:59:23 +0000 (09:59 +0100)
commit0496e824a5b97edc9991f62c7c74f9b24b16edc7
tree461a62c88e5b8268d8444bad9e87017eee2bb864
parentf59d563399be3d9af3e7b4673e13905d28f2339b
run-parts: add --exit-on-error | -e support

The "big" run-parts supports a handy --exit-on-error to stop execution on
errors, so lets support it as well.

Upstream doesn't have a short option for it, but I've used '-e' for busybox.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
debianutils/run_parts.c