if [[ $MAIL_HOST == x3 ]]; then
kd_spread=true
else
+ # x3 was the mail host, but it moved to some other machine
+ # without updating us yet.
echo "MAIL_HOST=$MAIL_HOST, nothing to do"
mexit 0
fi
if [[ $ret == 0 ]]; then
for tg in ${targets[@]}; do
- :
- ssh root@$tg /a/exe/mail-backup-clean
+ ssh root@$tg /usr/local/bin/mail-backup-clean
done
fi