From 04e252d75ce38033d0476df75593380e69391fbc Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 5 Mar 2014 18:46:52 +0200 Subject: [PATCH] syntax error in dns record change function. fixes #120 --- bin/v-change-dns-record | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-change-dns-record b/bin/v-change-dns-record index 8f27b8d96..ace6f985f 100755 --- a/bin/v-change-dns-record +++ b/bin/v-change-dns-record @@ -54,7 +54,7 @@ if [ "$TYPE" != 'MX' ] && [ "$TYPE" != 'SRV' ]; then fi # Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record -fqdn_type=$(echo $TYPE | grep "[NS|CNAME|MX|PTR|SRV]") +fqdn_type=$(echo $TYPE | grep "NS\|CNAME\|MX\|PTR\|SRV") if [ ! -z "$fqdn_type" ]; then trailing_dot=$(echo $dvalue | grep "\.$") if [ -z $trailing_dot ]; then