diff --git a/hy2.sh b/hy2.sh index 14c34c6..da0d33d 100644 --- a/hy2.sh +++ b/hy2.sh @@ -48,13 +48,12 @@ double_confirm() { local detail="$2" echo - yellow "========== 二次确认 ==========" + yellow "==============================" yellow "$title" echo "$detail" echo - confirm_yes "第一次确认,输入 yes 继续: " || return 1 - confirm_yes "第二次确认,输入 yes 最终执行: " || return 1 + confirm_yes "输入 yes 继续: " || return 1 return 0 }