From 77d787002730f106987e30cc35b12dd284594ffc Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sun, 9 Feb 2014 21:46:36 +0200 Subject: [PATCH] fixed OR statement --- func/domain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/domain.sh b/func/domain.sh index 4215ae67..07c3a1ce 100644 --- a/func/domain.sh +++ b/func/domain.sh @@ -477,7 +477,7 @@ is_dns_record_critical() { is_dns_fqnd() { t=$1 r=$2 - fqdn_type=$(echo $t | grep "[NS|CNAME|MX|PTR|SRV]") + fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV") tree_length=3 if [ $t = 'CNAME' ]; then tree_length=2