迁移确认改为中文

This commit is contained in:
mango
2026-02-02 07:38:04 +08:00
parent f4b80945d1
commit f89d8381c7

View File

@@ -579,9 +579,9 @@ migrate_server() {
echo -e "源: ${src_user}@${src_ip}"
echo -e "目标: 当前服务器"
echo ""
read -p "输入 MIGRATE 确认迁移: " confirm
read -p "输入 确认迁移 继续: " confirm
if [ "$confirm" != "MIGRATE" ]; then
if [ "$confirm" != "确认迁移" ]; then
rm -f "$local_snapshot"
echo "已取消"
return 1