We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5a304 commit cb53616Copy full SHA for cb53616
bin/v-add-dns-record
@@ -39,7 +39,7 @@ fi
39
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
40
if [[ $rtype =~ NS|CNAME|MX|PTR|SRV ]]; then
41
trailing_dot=$(echo $dvalue | grep "\.$")
42
- if [ -z $trailing_dot ]; then
+ if [ -z "$trailing_dot" ]; then
43
dvalue="$dvalue."
44
fi
45
0 commit comments