Skip to content

Commit 0e8b482

Browse files
authored
Minor bug fix of v-sync-dns-cluster
Problem Outlined: It seems that another script has dropped a file called history.log into the $VESTA/data/users folder causing v-sync-dns-cluster to throw a soft error about not finding /usr/local/vesta/data/users/history.log/dns.conf when syncing zones. Fix: Tell the script to ignore that log file when syncing user domains and the output becomes clean.
1 parent 4e769aa commit 0e8b482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-sync-dns-cluster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for cluster in $hosts; do
4949
check_result $? "$HOST connection failed" $E_CONNECT
5050

5151
# Syncing user domains
52-
user_list=$(ls $VESTA/data/users |grep -v "dns-cluster")
52+
user_list=$(ls $VESTA/data/users |grep -v "dns-cluster" |grep -v "history.log")
5353
for user in $user_list; do
5454
for str in $(cat $VESTA/data/users/$user/dns.conf); do
5555

0 commit comments

Comments
 (0)