]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- ignore errors from service
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 30 Jan 2006 16:55:15 +0000 (16:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    service_generator.sh -> 1.4

service_generator.sh

index b0303ac90669d2200c48baaed451b6da9a3503c6..9f25cc62eb7fdb0a0d9d78c7da159d9416697fe5 100644 (file)
@@ -19,7 +19,7 @@ fi
 service_body() {
        cat <<-EOF
        if [ -f /var/lock/subsys/$service ]; then
-               /etc/rc.d/init.d/$service $action 1>&2
+               /etc/rc.d/init.d/$service $action 1>&2 || :;
 EOF
        if [ "$quiet" != 1 ]; then
                cat <<-EOF
This page took 0.404829 seconds and 4 git commands to generate.