mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
syntax error in dns record change function. fixes #120
This commit is contained in:
parent
d87f3f6340
commit
04e252d75c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if [ "$TYPE" != 'MX' ] && [ "$TYPE" != 'SRV' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
|
# 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
|
if [ ! -z "$fqdn_type" ]; then
|
||||||
trailing_dot=$(echo $dvalue | grep "\.$")
|
trailing_dot=$(echo $dvalue | grep "\.$")
|
||||||
if [ -z $trailing_dot ]; then
|
if [ -z $trailing_dot ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue