Update status.inc

This commit is contained in:
2023-07-03 23:53:16 -05:00
parent b7a47d88f3
commit 39eb3aef00

View File

@@ -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