Update mm-scripts.sh
This commit is contained in:
@@ -449,6 +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"
|
||||
until [ "${checkport}" == "" ]; do
|
||||
sleep 1s
|
||||
checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)
|
||||
|
||||
Reference in New Issue
Block a user