diff --git a/bin/v-add-dns-record b/bin/v-add-dns-record index 08f7be57e..b785973c5 100755 --- a/bin/v-add-dns-record +++ b/bin/v-add-dns-record @@ -51,7 +51,7 @@ fi dvalue=${dvalue//\"/} -if [[ "dvalue" =~ [^\;\s] ]]; then +if [[ "$dvalue" =~ [\;[:space:]] ]]; then dvalue='"'"$dvalue"'"' fi