lots: shellcheck, streaming stuff, fixes
[distro-setup] / mail-cert-cron
index 99563a98ad4a61b12c19b7b33545a07554c33789..4202ccbd053926dd8b96521d1b9629e6f1829760 100755 (executable)
@@ -13,12 +13,12 @@ esac
 
 f=/a/bin/bash_unpublished/source-state
 if [[ -e $f ]]; then
+  # shellcheck source=/a/bin/bash_unpublished/source-state
   source $f
 fi
 
 case $HOSTNAME in
   $MAIL_HOST|bk)
-    local_mx=mail.iankelling.org
     # ||: is to allow for temporary connection issues.
     rsync "${opt[@]}" -ogtL --chown=root:Debian-exim --chmod=640 \
           root@li.iankelling.org:/etc/letsencrypt/live/mail.iankelling.org/{fullchain.pem,privkey.pem} /etc/exim4 ||: