mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
#22 fixed
This commit is contained in:
parent
44bab04ea1
commit
82ebed7c9c
|
@ -51,7 +51,7 @@ printServerLatency() {
|
||||||
regionID="$2"
|
regionID="$2"
|
||||||
regionName="$(echo ${@:3} |
|
regionName="$(echo ${@:3} |
|
||||||
sed 's/ false//' | sed 's/true/(geo)/')"
|
sed 's/ false//' | sed 's/true/(geo)/')"
|
||||||
time=$(curl -o /dev/null -s \
|
time=$(LC_NUMERIC=en_US.utf8 curl -o /dev/null -s \
|
||||||
--connect-timeout $MAX_LATENCY \
|
--connect-timeout $MAX_LATENCY \
|
||||||
--write-out "%{time_connect}" \
|
--write-out "%{time_connect}" \
|
||||||
http://$serverIP:443)
|
http://$serverIP:443)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user