修改提示语

This commit is contained in:
Olia Lisa
2026-05-20 09:30:44 +08:00
parent 6ed6a52de6
commit 4943ef4137
+6 -1
View File
@@ -49,9 +49,10 @@ check_container_status(){
}
main(){
local container_status=$(check_container_status)
# 显示菜单
echo ""
echo 运行状态: $(check_container_status)
echo 运行状态: $container_status
echo "=============================="
echo "请选择一个操作:"
echo "1. 一键部署"
@@ -96,6 +97,10 @@ main(){
;;
5)
# 停止
if echo "$container_status" | grep -q "未运行"; then
echo "程序已停止"
return
fi
docker compose -f ./docker-compose.yml down
;;
6)