From f1374d45a1cb90e2d3bff212187f23ba1d7d8af8 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 16 May 2023 11:46:11 -0400 Subject: [PATCH 1/1] fix path, minor docs --- btrbk-run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/btrbk-run b/btrbk-run index 24efc0f..231a239 100644 --- a/btrbk-run +++ b/btrbk-run @@ -227,6 +227,8 @@ if [[ ! -v targets && ! $source ]]; then 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 @@ -698,8 +700,7 @@ 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 -- 2.30.2