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 d87f3f6 commit 04e252dCopy full SHA for 04e252d
bin/v-change-dns-record
@@ -54,7 +54,7 @@ if [ "$TYPE" != 'MX' ] && [ "$TYPE" != 'SRV' ]; then
54
fi
55
56
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
57
-fqdn_type=$(echo $TYPE | grep "[NS|CNAME|MX|PTR|SRV]")
+fqdn_type=$(echo $TYPE | grep "NS\|CNAME\|MX\|PTR\|SRV")
58
if [ ! -z "$fqdn_type" ]; then
59
trailing_dot=$(echo $dvalue | grep "\.$")
60
if [ -z $trailing_dot ]; then
0 commit comments