Author: glen                         Date: Mon Feb 13 16:46:39 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- eye candy to mysql status

---- Files affected:
SOURCES:
   mysql.init (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SOURCES/mysql.init
diff -u SOURCES/mysql.init:1.90 SOURCES/mysql.init:1.91
--- SOURCES/mysql.init:1.90     Sat Jan 21 16:50:15 2006
+++ SOURCES/mysql.init  Mon Feb 13 17:46:33 2006
@@ -859,7 +859,13 @@
        status mysqld
        for mysqldir in $DB_CLUSTERS; do
                mysqlstatus "$mysqldir"
-               echo "MySQL cluster $mysqldir: $MYSQL_STATUS"
+               echo -n "MySQL cluster $mysqldir"
+               if [ "$MYSQL_STATUS" = "running" ]; then
+                       progress "$MYSQL_STATUS"
+               else
+                       progress "$MYSQL_STATUS" "$CFAIL"
+               fi
+               echo
        done
        exit $?
        ;;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mysql.init?r1=1.90&r2=1.91&f=u

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

Reply via email to