iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d1756
)
robustness
author
Ian Kelling
<ian@iankelling.org>
Fri, 2 Aug 2019 05:01:12 +0000
(
01:01
-0400)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 2 Aug 2019 05:01:12 +0000
(
01:01
-0400)
mount-latest-remote
patch
|
blob
|
history
diff --git
a/mount-latest-remote
b/mount-latest-remote
index 2b5ca59fd81bfdf4efbf27385e22e86bfca3b3c5..279a61b4dcb2bdebadf8aafdcf3b0469f9d3f5e3 100755
(executable)
--- a/
mount-latest-remote
+++ b/
mount-latest-remote
@@
-26,10
+26,11
@@
ret=0
for tg; do
scp $script_dir/{mount-latest-subvol,check-subvol-stale} \
- root@$tg:/usr/local/bin
- ssh root@$tg bash <<'EOF'
+ root@$tg:/usr/local/bin
|| ret=1
+ ssh root@$tg bash <<'EOF'
|| ret=1
set -e
chmod +x /usr/local/bin/{mount-latest-subvol,check-subvol-stale}
/usr/local/bin/mount-latest-subvol
EOF
done
+exit $ret