From 48de85d3e7f9e0f90518c4942f4ccf58c7247993 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 12 Oct 2023 11:09:19 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index ea58311..bfed835 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -625,7 +625,7 @@ MMSTATUS(){ else [ "${MM_SERVICE_PORTS[${srvc}]}" != "" ] && checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t) if ([ "${MM_SERVICE_PORTS[${srvc}]}" != "" ] && [ "${checkport}" != "" ]) || [ "${MM_SERVICE_PORTS[${srvc}]}" == "" ]; then - echo -e "${idsCL[Green]}Running ${idsCL[Cyan]}(Port: ${MM_SERVICE_PORTS[${srvc}]})${idsCL[Default]}" + [[ ${srvc} == *"wireguard"* ]] && echo -e "${idsCL[Green]}Running${idsCL[Default]}" || echo -e "${idsCL[Green]}Running ${idsCL[Cyan]}(Port: ${MM_SERVICE_PORTS[${srvc}]})${idsCL[Default]}" elif [ "${checkport}" == "" ]; then echo -e "${idsCL[LightMagenta]}Service Running, Web Port Not Accesible${idsCL[Default]}" fi