X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mount-latest-remote;h=43f9400b8074ad29675787a1c571cfab6a0d8df9;hb=52ba30d54960fe49799eeaea3802e35d5a86df44;hp=ec475597cc01c4960ddb8ec10758c1647856b25a;hpb=c2bf18a9e27233fc9b57450455969fc9e53508b8;p=distro-setup 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