fix path, minor docs
authorIan Kelling <ian@iankelling.org>
Tue, 16 May 2023 15:46:11 +0000 (11:46 -0400)
committerIan Kelling <ian@iankelling.org>
Tue, 16 May 2023 15:46:11 +0000 (11:46 -0400)
btrbk-run

index 24efc0fe7bc23c7a0cfb68522f80b12931c0ff32..231a239ef290cf30ae121c70d53b86ecbec395ef 100644 (file)
--- 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