X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=231a239ef290cf30ae121c70d53b86ecbec395ef;hb=f1374d45a1cb90e2d3bff212187f23ba1d7d8af8;hp=24efc0fe7bc23c7a0cfb68522f80b12931c0ff32;hpb=5cb8fc0c2a8a3f9ffa3cb4d376075c1217eb6d8c;p=distro-setup 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