From 33d795c60833995468c842e50ef7555221bdb7fa Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 29 Aug 2016 12:15:46 -0400 Subject: [PATCH] *Bugfix regex and variable --- bin/v-add-dns-record | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-add-dns-record b/bin/v-add-dns-record index 08f7be57..b785973c 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