Update status.inc
This commit is contained in:
@@ -69,7 +69,7 @@ STATUS(){
|
||||
else
|
||||
spc=' '
|
||||
fi
|
||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}(${srvc})${spc}: "
|
||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}${spc}: "
|
||||
fi
|
||||
|
||||
if [ "$(systemctl is-active ${srvc})" != "active" ]; then
|
||||
@@ -186,7 +186,7 @@ STATUS(){
|
||||
else
|
||||
spc=' '
|
||||
fi
|
||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}$spc: "
|
||||
echo -en " ${NM_SERVICE_DESC[${srvc}]}(${srvc})${spc}: "
|
||||
fi
|
||||
if [ "${srvctst[$sr]}" != "active" ] && [ "${srvc}" == "mysql" ]; then
|
||||
[ "$(${NCMD} systemctl is-active mariadb)" == "active" ] && mysqlgo=true || mysqlgo=false
|
||||
|
||||
Reference in New Issue
Block a user