4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
6 script_dir
=$
(dirname $
(readlink
-f "$BASH_SOURCE"))
9 echo "mount-latest-remote: error: expected 1 or more host arguments"
14 scp
$script_dir/{mount-latest-subvol
,check-subvol-stale
} \
15 root@
$tg:/usr
/local
/bin
16 ssh root@
$tg bash
<<'EOF'
18 chmod +x /usr/local/bin/{mount-latest-subvol,check-subvol-stale}