neilpang 2019-10-05 11:59:04 +08:00
parent 72d800ed10
commit 1e7534b9d7
1 changed files with 1 additions and 1 deletions

View File

@ -3678,7 +3678,7 @@ _ns_purge_cf() {
#checks if cf server is available
_ns_is_available_cf() {
if _get "https://cloudflare-dns.com"; then
if _get "https://cloudflare-dns.com" >/dev/null 2>&1; then
return 0
else
return 1