git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43aefb0
)
be more explicit when a slice IP can't be found
author
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Tue, 19 Jun 2012 15:19:21 +0000
(17:19 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Tue, 19 Jun 2012 15:19:21 +0000
(17:19 +0200)
sshsh
patch
|
blob
|
history
diff --git
a/sshsh
b/sshsh
index
dfa03c0
..
b7a0264
100755
(executable)
--- a/
sshsh
+++ b/
sshsh
@@
-18,4
+18,6
@@
if [ -n "$verbose" ]; then
echo "========== end /var/lib/libvirt/dnsmasq/default.leases"
fi
+[ -z "$IP" ] && { echo "No IP found" ; exit 1; }
+
exec ssh -o StrictHostKeyChecking=no root@$IP "$@"