Update findtest.sh

This commit is contained in:
R0GGER authored and GitHub committed 2024-10-22 00:41:48 +02:00
1 parent 961c61d01e
commit 63fd7da7b6
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ for ip in $SERVER_IPS; do
# Calculate the distance between the client and the server
distance=$(haversine $CLIENT_LAT $CLIENT_LON $SERVER_LAT $SERVER_LON)
echo "Server $ip is $distance km away"
#echo "Server $ip is $distance km away"
# Compare distances to find the closest server
if [[ -z "$closest_distance" || $(echo "$distance < $closest_distance" | bc -l 2>/dev/null) -eq 1 ]]; then