Author: glen                         Date: Thu Aug 23 18:46:25 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reload formatting

---- Files affected:
SOURCES:
   tenshi.init (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/tenshi.init
diff -u SOURCES/tenshi.init:1.5 SOURCES/tenshi.init:1.6
--- SOURCES/tenshi.init:1.5     Wed Jul 18 17:20:46 2007
+++ SOURCES/tenshi.init Thu Aug 23 20:46:20 2007
@@ -59,11 +59,12 @@
   reload|force-reload)
        if [ -f /var/lock/subsys/tenshi ]; then
                if checkconfig; then
-                       show "Reloading tenshi configuration and flushing all 
queues"; echo
+                       show "Reloading tenshi configuration and flushing all 
queues"
                        kill -HUP `cat /var/run/tenshi/tenshi.pid`
                        RETVAL=$?
+                       [ $RETVAL = 0 ] && ok || fail
                else
-                       show "tenshi config file has syntax error, not 
restarting"; echo
+                       show "The tenshi config file has syntax error, not 
restarting"; fail
                        RETVAL=7
                fi
        else
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/tenshi.init?r1=1.5&r2=1.6&f=u

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

Reply via email to