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