Update xiaoya-all.sh

This commit is contained in:
悟空的日常镜像仓库 2024-06-08 16:49:17 +08:00
parent 7b9f5e6841
commit e1a738aaca
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ if [ -f "$install_path/docker-compose.yml" ]; then
fi
fi
DOCKER_HOME="$(docker info | grep "Docker Root Dir" | awk -F ':' '{print$2}')"
DOCKER_HOME="$(docker info 2>/dev/null | grep "Docker Root Dir" | awk -F ':' '{print$2}')"
# 选择数据保存位置
data_location=1