更新 hy2.sh
This commit is contained in:
5
hy2.sh
5
hy2.sh
@@ -48,13 +48,12 @@ double_confirm() {
|
|||||||
local detail="$2"
|
local detail="$2"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
yellow "========== 二次确认 =========="
|
yellow "=============================="
|
||||||
yellow "$title"
|
yellow "$title"
|
||||||
echo "$detail"
|
echo "$detail"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
confirm_yes "第一次确认,输入 yes 继续: " || return 1
|
confirm_yes "输入 yes 继续: " || return 1
|
||||||
confirm_yes "第二次确认,输入 yes 最终执行: " || return 1
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user