From 52ba30d54960fe49799eeaea3802e35d5a86df44 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 11 Feb 2017 12:38:59 -0800 Subject: [PATCH] minor fixes --- distro-begin | 2 -- mount-latest-remote | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/distro-begin b/distro-begin index a762284..fa42542 100755 --- a/distro-begin +++ b/distro-begin @@ -290,9 +290,7 @@ pi trash-cli s lnf -T /a/bin /b if has_p; then - lnf -T /p/offlineimap ~/Maildir lnf -T /p/News ~/News - # don't use /* because I don't want to require it to be mounted fi s lnf /q/root/.editor-backups /q/root/.undo-tree-history \ diff --git a/mount-latest-remote b/mount-latest-remote index ec47559..43f9400 100755 --- a/mount-latest-remote +++ b/mount-latest-remote @@ -26,9 +26,12 @@ fi for tg; do scp $script_dir/{mount-latest-subvol,check-subvol-stale} \ root@$tg:/usr/local/bin - ssh root@$tg bash <<'EOF' + if ! ssh root@$tg bash <<'EOF' set -e chmod +x /usr/local/bin/{mount-latest-subvol,check-subvol-stale} mount-latest-subvol EOF + then + echo "$0: warning: failed mount-latest-subvol on $tg" + fi done -- 2.30.2