From c92f28f64e1f59593a0895524be620500a5118ff Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Sun, 7 Jul 2024 01:35:19 +0800 Subject: [PATCH] Update Nlbench.sh --- Nlbench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nlbench.sh b/Nlbench.sh index a8f02c0..5166d46 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -123,7 +123,7 @@ run_iperf3_test() { # 统计使用次数 sum_run_times() { - local COUNT=$(wget --no-check-certificate -qO- --tries=2 --timeout=2 "https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Feverett7623%2Fnodeloc_vps_test%2Fmain%2FNlbench.sh" 2>&1 | grep -m1 -oE "[0-9]+[ ]+/[ ]+[0-9]+") + local COUNT=$(wget --no-check-certificate -qO- --tries=2 --timeout=2 "https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Feverett7623%2Fnodeloc_vps_test%2Fblob%2Fmain%2FNlbench.sh" 2>&1 | grep -m1 -oE "[0-9]+[ ]+/[ ]+[0-9]+") if [[ -n "$COUNT" ]]; then daily_count=$(cut -d " " -f1 <<< "$COUNT") total_count=$(cut -d " " -f3 <<< "$COUNT")