luci-app-mosdns: mosdns.sh: fix typo

This commit is contained in:
sbwml 2023-09-26 20:16:27 +08:00
parent d489113348
commit 547159caaa

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)