Author: glen                         Date: Mon Jan 30 16:55:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ignore errors from service

---- Files affected:
SOURCES:
   service_generator.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/service_generator.sh
diff -u SOURCES/service_generator.sh:1.3 SOURCES/service_generator.sh:1.4
--- SOURCES/service_generator.sh:1.3    Fri Jan 20 23:41:58 2006
+++ SOURCES/service_generator.sh        Mon Jan 30 17:55:15 2006
@@ -19,7 +19,7 @@
 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/service_generator.sh?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to