minor fixes
[distro-setup] / mount-latest-remote
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