From 73a7bbea090f638efbdff6938563d39d69119756 Mon Sep 17 00:00:00 2001 From: lxh2875931338 Date: Sun, 26 Jul 2026 12:40:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/deploy.sh b/deploy.sh index 910836d..45931c1 100644 --- a/deploy.sh +++ b/deploy.sh @@ -335,17 +335,12 @@ confirm_deploy() { echo -e "${GREEN}▶ 已启用 --yes,自动确认${NC}" return 0 fi - echo -e -n "${CYAN}确认执行? 输入 Y 继续,输入 n 自定义配置 [Y/n]: ${NC}" - read -r CONFIRM - + # 强制从 /dev/tty 读取,而不是继承 stdin + read -r CONFIRM