diff --git a/bin/pdns-rr-rep.sh b/bin/pdns-rr-rep.sh index 6b5ec54..7e478ce 100755 --- a/bin/pdns-rr-rep.sh +++ b/bin/pdns-rr-rep.sh @@ -140,7 +140,7 @@ if [[ $zone_status = 200 ]]; then if [[ -z $account ]]; then account=$(/usr/bin/hostname -f) fi - data= "$data,\"comments\":[{\"content\":\"$comment\",\"account\":\"$account\"}]" + data="$data,\"comments\":[{\"content\":\"$comment\",\"account\":\"$account\"}]" fi # close out json string