mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:32:44 +00:00
Fixed shfmt errors
This commit is contained in:
parent
9b2873668f
commit
3aa8365e51
@ -126,14 +126,14 @@ _get_root() {
|
||||
p=1
|
||||
|
||||
while true; do
|
||||
h=$(printf "%s" "$domain" | cut -d . -f $i-)
|
||||
h=$(printf "%s" "$domain" | cut -d . -f "$i"-)
|
||||
if [ -z "$h" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
if _contains "$(dig ns "$h")" "mijn.host"; then
|
||||
root_zone="$h"
|
||||
subdomain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
||||
subdomain=$(printf "%s" "$domain" | cut -d . -f 1-"$p")
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user