diff --git a/bin/pdns-record-rep.sh b/bin/pdns-record-rep.sh index 67e90b2..4c7f1cd 100755 --- a/bin/pdns-record-rep.sh +++ b/bin/pdns-record-rep.sh @@ -70,9 +70,9 @@ if [[ -z $type ]]; then exit fi -# check for content -if [[ -z $content ]]; then - echo "content is required" +# check for record data +if [[ -z $record ]]; then + echo "record is required" exit fi