Enhance output of sending all masters.

This commit is contained in:
2026-03-28 14:10:03 -07:00
parent 4ef51915fb
commit ae556e03e8

View File

@@ -74,12 +74,14 @@ export -f clone
# Enhance Bin Scripts # Enhance Bin Scripts
function send-masters { function send-masters {
echo -e "`date` - Looping through MASTER directories.\n"
ls | grep MASTER | while read dir; do ls | grep MASTER | while read dir; do
echo "Preparing to sync '$dir' to '$SERVER_NAME'." echo -e "`date` - Found '$dir'..."
cd $dir cd $dir
send-master send-master
cd .. cd ..
done done
echo -e "\n`date` - Done checking for MASTER directories."
} }
export -f send-masters export -f send-masters