Fixing bugs for DO agent-3

This commit is contained in:
Eric Renfro 2021-01-31 13:10:10 -05:00
parent 99c513e9b2
commit 1f12684a81
Signed by untrusted user who does not match committer: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -44,7 +44,7 @@ _update_dns_do_get_domain() {
while read -r domain
do
if [[ $domain == *"$DIP_RECORD" ]]; then
if [[ $DIP_RECORD == *"$domain" ]]; then
echo "$domain"
return 0
fi