Move independent repo myunison into this repo
[distro-setup] / mount-latest-remote
index ec475597cc01c4960ddb8ec10758c1647856b25a..cd04fafa99182fe410ddab07e3ca127ae88dd14a 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
+/usr/local/bin/mount-latest-subvol
 EOF
+    then
+        echo "$0: warning: failed mount-latest-subvol on $tg"
+    fi
 done