diff --git a/Menus/Software.sh b/Menus/Software.sh index 80bf021..497724f 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[@]}\s]+ ]];then +elif ! [[ $pick =~ [1-${#soft_dick[@]}|\s]+ ]];then echo "输入错误" exit fi