From df1cb4ca616c370c883bc178cfb8ac2c6a2da6d8 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Tue, 19 May 2026 18:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/utils/base.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/utils/base.sh b/bin/utils/base.sh index 78d095c..41a1e60 100644 --- a/bin/utils/base.sh +++ b/bin/utils/base.sh @@ -100,15 +100,6 @@ check_config_file(){ exit 1 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容器