until [[ $flag == "yes" || $flag == "exit" ]] do read -p "请确认统一/合服前后数据是否一致,输入yes继续执行脚本,输入exit退出:" flag if [[ $flag = "yes" ]]; then break elif [[ $flag = "exit" ]];then exit else continue fi done
做个记录
时间: 2024-11-09 02:13:00
until [[ $flag == "yes" || $flag == "exit" ]] do read -p "请确认统一/合服前后数据是否一致,输入yes继续执行脚本,输入exit退出:" flag if [[ $flag = "yes" ]]; then break elif [[ $flag = "exit" ]];then exit else continue fi done
做个记录