fix: mac deployment (#1761)

pull/1762/head
Xinwei Xiong 11 months ago committed by GitHub
parent a24eedb66d
commit fdf055d328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -311,7 +311,7 @@ openim::util::check_ports() {
fi fi
elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "darwin"* ]]; then
# For macOS, use lsof # For macOS, use lsof
info=$(lsof -i:"$port" | grep "\*:$port" || true) info=$(lsof -P -i:"$port" | grep "LISTEN" || true)
fi fi
# Check if any process is using the port # Check if any process is using the port

Loading…
Cancel
Save