Update mm-scripts.sh

This commit is contained in:
2023-03-25 11:28:37 -05:00
parent 7ab1cc2d6b
commit 74bb82466f

View File

@@ -460,7 +460,7 @@ MMSTATUS(){
else
if ([ "${MM_SERVICE_PORTS[${srvc}]}" != "" ] && [ lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t >/dev/null ]) || [ "${MM_SERVICE_PORTS[${srvc}]}" == "" ]; then
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
elif [ ! lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t >/dev/null ]
elif [ ! lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t >/dev/null ]; then
echo -e "${idsCL[LightMagenta]}Service Running, Web Port Not Accesible${idsCL[Default]}"
fi