mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
fix format
This commit is contained in:
@@ -109,7 +109,7 @@ _get_root() {
|
||||
|
||||
# Need to exclude the last field (tld)
|
||||
numfields=$(echo "$domain" | _egrep_o "\." | wc -l)
|
||||
while [ $i -le "$numfields" ]; do
|
||||
while [ "$i" -le "$numfields" ]; do
|
||||
host=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
||||
_debug host "$host"
|
||||
if [ -z "$host" ]; then
|
||||
|
||||
Reference in New Issue
Block a user