Skip to content

Commit d733729

Browse files
authored
Syntax Correction (hestiacp#2295)
The syntax is not correct, leading to errors like the following in cluster (slave) dns excerpt from /var/log/hestia/error.log: 2021-12-16 23:39:23 v-delete-dns-record 'dns-cluster' 'domain.com' '15 no' '' '' '' '' '' [Error 2] Note the quoting error at 15 and no Result of the error: DNS record(s) on dns cluster (slave) can not be removed.
1 parent edd8f97 commit d733729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-delete-remote-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ for cluster in $(cat $HESTIA/conf/dns-cluster.conf); do
5858
check_result $? "$HOST connection failed (soa sync)" "$E_CONNECT"
5959

6060
# Sync domain
61-
cluster_cmd v-delete-dns-record "$DNS_USER" "$domain" "$id "'no'
61+
cluster_cmd v-delete-dns-record "$DNS_USER" "$domain" "$id" 'no'
6262
#check_result $? "$HOST connection failed (delete)" $E_CONNECT
6363

6464
# Rebuilding dns zone

0 commit comments

Comments
 (0)