From: Ian Kelling <ian@iankelling.org>
Date: Tue, 16 May 2023 15:46:11 +0000 (-0400)
Subject: fix path, minor docs
X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=f1374d45a1cb90e2d3bff212187f23ba1d7d8af8;p=distro-setup

fix path, minor docs
---

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