shfmt
parent
4a8c2251e0
commit
c0b87adee5
|
@ -104,7 +104,7 @@ _get_root() {
|
||||||
i=2
|
i=2
|
||||||
p=1
|
p=1
|
||||||
while true; do
|
while true; do
|
||||||
h=$(printf "%s" "$domain" | rev | cut -d . -f 1-2 | rev )
|
h=$(printf "%s" "$domain" | rev | cut -d . -f 1-2 | rev)
|
||||||
if [ -z "$h" ]; then
|
if [ -z "$h" ]; then
|
||||||
#not valid
|
#not valid
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue