shellcheck fix on line 804 (SC2086)
Some checks failed
CI 🤖 / Shellcheck 🐚 (push) Waiting to run
Monitor External Releases for Updates / monitor-releases (push) Has been cancelled

This commit is contained in:
Mason Rowe
2026-07-03 22:05:37 -04:00
parent 6ea1d66e0f
commit 3474d82f83

View File

@@ -801,7 +801,7 @@ function iperf_test {
done done
# Run a latency test via ping -c1 command -> will return "xx.x ms" # Run a latency test via ping -c1 command -> will return "xx.x ms"
[[ -n $LOCAL_PING ]] && LATENCY_RUN="$(ping $FLAGS -c1 "$URL" 2>/dev/null | grep -o 'time=.*' | sed s/'time='//)" [[ -n $LOCAL_PING ]] && LATENCY_RUN="$(ping "$FLAGS" -c1 "$URL" 2>/dev/null | grep -o 'time=.*' | sed 's/time=//')"
[[ -z $LATENCY_RUN ]] && LATENCY_RUN="--" [[ -z $LATENCY_RUN ]] && LATENCY_RUN="--"
# parse the resulting send and receive speed results # parse the resulting send and receive speed results