update 2023-09-24 00:20:58

This commit is contained in:
github-actions[bot] 2023-09-24 00:20:58 +08:00
parent a97dbe4309
commit 4b93af5042
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ get_adlist() (
)
adlist_update() (
[ $(uci -q get mosdns.config.adblock) -eq 0 ] && exit 0
[ "$(uci -q get mosdns.config.adblock)" != 1 ] && exit 0
ad_source=$(uci -q get mosdns.config.ad_source)
AD_TMPDIR=$(mktemp -d) || exit 1
google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204)