浏览代码

Fixed error

Rolph Haspers 6 年之前
父节点
当前提交
e48daffad9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dnsapi/dns_leaseweb.sh

+ 1 - 1
dnsapi/dns_leaseweb.sh

@@ -102,7 +102,7 @@ _get_root() {
       fi
     fi
     i=$(_math "$i" - 1)
-    if $(( i < 2 )); then
+    if [ "$i" -lt 2 ]; then
       return 1 #not found, no need to check _acme-challenge.sub.domain in leaseweb api.
     fi
   done