Fixing linode-v4 script errors-3
This commit is contained in:
parent
7d202c7143
commit
49835b586b
1 changed files with 5 additions and 5 deletions
|
@ -74,11 +74,11 @@ _update_dns_linode_v4_get_record_id() {
|
||||||
local response
|
local response
|
||||||
local record_id
|
local record_id
|
||||||
|
|
||||||
if [[ "${#subdomain}" -gt "${#domain}" ]]; then
|
#if [[ "${#subdomain}" -gt "${#domain}" ]]; then
|
||||||
subdomain="${subdomain:0:${#subdomain}-${#domain}-1}"
|
# subdomain="${subdomain:0:${#subdomain}-${#domain}-1}"
|
||||||
else
|
#else
|
||||||
subdomain="@"
|
# subdomain="@"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
response=$(curl \
|
response=$(curl \
|
||||||
--silent \
|
--silent \
|
||||||
|
|
Loading…
Reference in a new issue