From e9f55a5cf5f53ad264b25eb70e5c0462ee1c0c6f Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 18:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=89=E8=A3=85=E8=BD=AF?= =?UTF-8?q?=E4=BB=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Software.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Menus/Software.sh b/Menus/Software.sh index 11f631a..ae4b3ca 100644 --- a/Menus/Software.sh +++ b/Menus/Software.sh @@ -55,7 +55,7 @@ if [[ -z $pick ]];then pick="$i" fi done -elif [[ ! $pick =~ [1-${#soft_dick[@]}\ ]+ ]];then +elif [[ ! $pick =~ [1-${#soft_dick[@]}\s]+ ]];then echo "输入错误" exit fi