Skip to content

Commit 33d795c

Browse files
committed
*Bugfix regex and variable
1 parent db9be6d commit 33d795c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151

5252
dvalue=${dvalue//\"/}
5353

54-
if [[ "dvalue" =~ [^\;\s] ]]; then
54+
if [[ "$dvalue" =~ [\;[:space:]] ]]; then
5555
dvalue='"'"$dvalue"'"'
5656
fi
5757

0 commit comments

Comments
 (0)