mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
remove deprecated use of xargs -i for better compatibility
This commit is contained in:
parent
7c933b10d5
commit
8d7b921c28
|
@ -92,7 +92,7 @@ fi
|
|||
echo Testing regions that respond \
|
||||
faster than $MAX_LATENCY seconds:
|
||||
bestRegion="$(echo "$summarized_region_data" |
|
||||
xargs -i bash -c 'printServerLatency {}' |
|
||||
xargs -I{} bash -c 'printServerLatency {}' |
|
||||
sort | head -1 | awk '{ print $2 }')"
|
||||
|
||||
if [ -z "$bestRegion" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user