浏览代码

fix https://github.com/Neilpang/acme.sh/issues/2518#issuecomment-538474232

neilpang 6 年之前
父节点
当前提交
1e7534b9d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

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