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 record_id
|
||||
|
||||
if [[ "${#subdomain}" -gt "${#domain}" ]]; then
|
||||
subdomain="${subdomain:0:${#subdomain}-${#domain}-1}"
|
||||
else
|
||||
subdomain="@"
|
||||
fi
|
||||
#if [[ "${#subdomain}" -gt "${#domain}" ]]; then
|
||||
# subdomain="${subdomain:0:${#subdomain}-${#domain}-1}"
|
||||
#else
|
||||
# subdomain="@"
|
||||
#fi
|
||||
|
||||
response=$(curl \
|
||||
--silent \
|
||||
|
|
Loading…
Reference in a new issue