SOURCES: inn.init - show inn status if it is running
blues
blues at pld-linux.org
Thu Aug 14 14:25:20 CEST 2008
Author: blues Date: Thu Aug 14 12:25:20 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- show inn status if it is running
---- Files affected:
SOURCES:
inn.init (1.26 -> 1.27)
---- Diffs:
================================================================
Index: SOURCES/inn.init
diff -u SOURCES/inn.init:1.26 SOURCES/inn.init:1.27
--- SOURCES/inn.init:1.26 Thu Aug 14 14:19:20 2008
+++ SOURCES/inn.init Thu Aug 14 14:25:14 2008
@@ -118,7 +118,9 @@
;;
status)
status innd
- innstat
+ if [ $? -eq 0 ]; then
+ innstat
+ fi
;;
reload|force-reload)
if [ -f /var/lock/subsys/inn ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/inn.init?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list