Small fix

This commit is contained in:
Rolph Haspers 2019-10-25 12:14:53 +02:00
parent 14f6f9ec94
commit 6d62ae226a

View File

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