Browse Source

removed unused variable

pull/3932/head
peter 3 years ago
parent
commit
a5f943e227
  1. 2
      dnsapi/dns_curanet.sh

2
dnsapi/dns_curanet.sh

@ -114,7 +114,6 @@ gettoken() {
_get_root() { _get_root() {
domain=$1 domain=$1
i=1 i=1
p=1
while true; do while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100) h=$(printf "%s" "$domain" | cut -d . -f $i-100)
@ -134,7 +133,6 @@ _get_root() {
return 0 return 0
fi fi
p=$i
i=$(_math "$i" + 1) i=$(_math "$i" + 1)
done done
return 1 return 1

Loading…
Cancel
Save