mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
fix trailing dot quotes
This commit is contained in:
parent
ce5a304814
commit
cb53616e99
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ fi
|
|||
# Add trailing dot at the end of NS/CNAME/MX/PTR/SRV record
|
||||
if [[ $rtype =~ NS|CNAME|MX|PTR|SRV ]]; then
|
||||
trailing_dot=$(echo $dvalue | grep "\.$")
|
||||
if [ -z $trailing_dot ]; then
|
||||
if [ -z "$trailing_dot" ]; then
|
||||
dvalue="$dvalue."
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue