mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
fix comparison on empty var
This commit is contained in:
parent
266333468b
commit
c58465d630
@ -54,7 +54,7 @@ _PDD_get_domain() {
|
|||||||
_debug2 "res1" "$res1"
|
_debug2 "res1" "$res1"
|
||||||
__found="$(echo "$res1" | sed -n -e 's#.* "found": \([^,]*\),.*#\1#p')"
|
__found="$(echo "$res1" | sed -n -e 's#.* "found": \([^,]*\),.*#\1#p')"
|
||||||
_debug "found: $__found results on page"
|
_debug "found: $__found results on page"
|
||||||
if [ "$__found" -lt 20 ]; then
|
if [ "0$__found" -lt 20 ]; then
|
||||||
_debug "last page: $__page"
|
_debug "last page: $__page"
|
||||||
__last=1
|
__last=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user