diff --git a/scripts/getdate.sh b/scripts/getdate.sh index e8fdfa5..eff8377 100644 --- a/scripts/getdate.sh +++ b/scripts/getdate.sh @@ -51,7 +51,7 @@ linkconfig(){ echo ----------------------------------------------- echo 0 返回上级菜单 read -p "请输入对应数字 > " num - if [ -z "$num" ] || [ "$num" -gt 14 ];then + if [ -z "$num" ] || [ "$num" -gt 17 ];then errornum elif [ "$num" = 0 ];then echo