更新 hy2.sh

This commit is contained in:
2026-03-19 14:15:02 +08:00
parent 926d90f346
commit cf96716cf9

5
hy2.sh
View File

@@ -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
}