mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
fixed OR statement
This commit is contained in:
parent
d4ad08ab3d
commit
77d7870027
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ is_dns_record_critical() {
|
||||||
is_dns_fqnd() {
|
is_dns_fqnd() {
|
||||||
t=$1
|
t=$1
|
||||||
r=$2
|
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
|
tree_length=3
|
||||||
if [ $t = 'CNAME' ]; then
|
if [ $t = 'CNAME' ]; then
|
||||||
tree_length=2
|
tree_length=2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue