From 21b29e46c0e3212121b9e876a6262cbeef9034f6 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 27 Jan 2022 13:22:58 -0800 Subject: [PATCH] updated check for record --- bin/pdns-record-rep.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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