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