diff --git a/mm-scripts.sh b/mm-scripts.sh index 7b7c6e9..ea84655 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}]" != "" ]; 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)