优化逻辑

This commit is contained in:
Olia Lisa 2026-01-10 19:48:19 +08:00
parent 3ef5c64c30
commit 00cdf70b0b

View File

@ -6,6 +6,8 @@ restart_docker() {
read -p "容器未启动,是否启动容器?(Y/N): " choice
case "$choice" in
Y|y)
docker-compose -f ./docker-compose.yml up -d
return
;;
*)
echo "已取消启动"