Skip to content

Commit 77d7870

Browse files
committed
fixed OR statement
1 parent d4ad08a commit 77d7870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ is_dns_record_critical() {
477477
is_dns_fqnd() {
478478
t=$1
479479
r=$2
480-
fqdn_type=$(echo $t | grep "[NS|CNAME|MX|PTR|SRV]")
480+
fqdn_type=$(echo $t | grep "NS\|CNAME\|MX\|PTR\|SRV")
481481
tree_length=3
482482
if [ $t = 'CNAME' ]; then
483483
tree_length=2

0 commit comments

Comments
 (0)