From 7683508121c082bcf567579ec957e52602c5c4d8 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:58:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E6=B5=8B=E9=80=9F?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=BF=AE=E6=94=B9=E6=97=A0=E6=B3=95=E5=88=A4?= =?UTF-8?q?=E6=96=AD0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- find_best_cdn_ip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_best_cdn_ip.sh b/find_best_cdn_ip.sh index aab687d..12bb26f 100755 --- a/find_best_cdn_ip.sh +++ b/find_best_cdn_ip.sh @@ -99,7 +99,7 @@ init(){ echoContent green "请输入单个ip的测试次数【默认为5次】:" echoContent red "=============================================" read testNum - if [[ "$testNum" =~ ^[1-9]+$ ]] + if [[ "$testNum" =~ ^[0-9]+$ ]] then num=${testNum} else