Update do_docker.sh

This commit is contained in:
悟空的日常镜像仓库 2024-03-25 20:25:32 +08:00
parent f67f96351d
commit 95c4b5e9ad
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ start_docker_and_check() {
yellow "不过为了验证下次启动docker的有效性 建议手动重启路由器一次 祝您使用愉快\n" yellow "不过为了验证下次启动docker的有效性 建议手动重启路由器一次 祝您使用愉快\n"
red "是否立即重启?(y/n)" red "是否立即重启?(y/n)"
read -r answer read -r answer
if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then if [ "$answer" = "y" ] || [ -z "$answer" ]; then
red "正在重启..." red "正在重启..."
reboot reboot
else else