We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77d7870 commit 4ecf44dCopy full SHA for 4ecf44d
1 file changed
bin/v-add-dns-record
@@ -39,7 +39,7 @@ if [ "$rtype" != 'MX' ] && [ "$rtype" != 'SRV' ]; then
39
fi
40
41
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
42
-fqdn_type=$(echo $rtype | grep "[NS|CNAME|MX|PTR|SRV]")
+fqdn_type=$(echo $rtype |grep "NS\|CNAME\|MX\|PTR\|SRV")
43
if [ ! -z "$fqdn_type" ]; then
44
trailing_dot=$(echo $dvalue | grep "\.$")
45
if [ -z $trailing_dot ]; then
0 commit comments