remove deprecated use of xargs -i for better compatibility

This commit is contained in:
bub 2020-10-03 06:39:34 -04:00 committed by GitHub
parent 7c933b10d5
commit 8d7b921c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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