]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- eye candy to mysql status
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Feb 2006 16:46:33 +0000 (16:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.init -> 1.91

mysql.init

index 95429735439075e7640b6cc24b9ad02a1a9fb414..6da5736cb2418cc5b3938c23aa81445e1e409b25 100644 (file)
@@ -859,7 +859,13 @@ case "$action" in
        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 $?
        ;;
This page took 0.905192 seconds and 4 git commands to generate.