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 \
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