From 3474d82f833473bda6078bd61cb4dd28ec2cbed6 Mon Sep 17 00:00:00 2001 From: Mason Rowe Date: Fri, 3 Jul 2026 22:05:37 -0400 Subject: [PATCH] shellcheck fix on line 804 (SC2086) --- yabs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yabs.sh b/yabs.sh index 39793f0..37a3798 100755 --- a/yabs.sh +++ b/yabs.sh @@ -801,7 +801,7 @@ function iperf_test { done # 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="--" # parse the resulting send and receive speed results