minor fixes
authorIan Kelling <ian@iankelling.org>
Sat, 11 Feb 2017 20:38:59 +0000 (12:38 -0800)
committerIan Kelling <ian@iankelling.org>
Sat, 11 Feb 2017 20:38:59 +0000 (12:38 -0800)
distro-begin
mount-latest-remote

index a7622848af7171f3437c9f02dcba2c3eb2ef2f1a..fa425421ceadf3da7d7e0314f7c5d6d4c65bf28c 100755 (executable)
@@ -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 \
index ec475597cc01c4960ddb8ec10758c1647856b25a..43f9400b8074ad29675787a1c571cfab6a0d8df9 100755 (executable)
@@ -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