diff --git a/mm-scripts.sh b/mm-scripts.sh index 2bd1352..83637b2 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -449,7 +449,7 @@ MMSTOP(){ echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}" for srvc in "${SERVICES_CHECK[@]}"; do checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t) - echo "$srvc - ${MM_SERVICE_PORTS[${srvc}]} - $checkport" + # echo "$srvc - ${MM_SERVICE_PORTS[${srvc}]} - $checkport" until [ "${checkport}" == "" ]; do sleep 1s checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)