~修复报错

This commit is contained in:
juewuy
2025-12-26 20:52:00 +08:00
parent ab774251b0
commit b792fc54f3
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,6 @@ singbox_check() { #singbox启动前检查
}
check_core
#预下载cn.srs数据库
[ "$dns_mod" = "mix" ] || [ "$dns_mod" = "route" ] && ! grep -Eq '"tag" *:[[:space:]]*"cn"' "$CRASHDIR"/jsons/*.json && ckgeo ruleset/cn.srs srs_geosite_cn.srs
[ "$dns_mod" = "mix" ] || [ "$dns_mod" = "route" ] && ! grep -Eq '"tag" *:[[:space:]]*"cn"' "$CRASHDIR"/jsons/*.json && check_geo ruleset/cn.srs srs_geosite_cn.srs
return 0
}