diff --git a/mm-scripts.sh b/mm-scripts.sh index 1e74f23..41cace5 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -475,7 +475,7 @@ MMSTOP(){ for srvc in "${!MM_SERVICES[@]}"; do if [ "MM_SERVICE_PORTS[${srvc}]" != "" ] && [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then 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)