Fixing linode-v4 script errors-3

This commit is contained in:
Eric Renfro 2021-08-23 11:16:46 -04:00
parent 7d202c7143
commit 49835b586b
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -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 \