删除测试代码

This commit is contained in:
Olia Lisa
2026-05-19 18:31:28 +08:00
parent 095390811e
commit df1cb4ca61
-9
View File
@@ -100,15 +100,6 @@ check_config_file(){
exit 1 exit 1
fi fi
# 使用singbox容器校验配置文件语义合法性
echo "正在使用 sing-box 校验配置文件..."
if ! docker compose -f "$compose_file" run --rm \
sing-box \
check -c "/etc/sing-box/config.json"; then
echo "sing-box 配置文件校验失败, 请检查配置内容."
exit 1
fi
} }
# 重启docker容器 # 重启docker容器