Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Improve ping output to be less verbose
[releng/builder.git]
/
jjb
/
opendaylight-infra-copy-ssh-keys.sh
diff --git
a/jjb/opendaylight-infra-copy-ssh-keys.sh
b/jjb/opendaylight-infra-copy-ssh-keys.sh
index 1b0ce6ebd4ed8cc03e882befb38e55af60b2127b..2b2267786d357a08ba0843c8b1b6d9d822b1ac6d 100644
(file)
--- a/
jjb/opendaylight-infra-copy-ssh-keys.sh
+++ b/
jjb/opendaylight-infra-copy-ssh-keys.sh
@@
-19,7
+19,11
@@
function copy-ssh-keys-to-slave() {
fi
# ping test to see if connectivity is available
- ping -c1 ${i}
+ if ping -c1 ${i} &> /dev/null; then
+ echo "Ping to ${i} successful."
+ else
+ echo "Ping to ${i} failed."
+ fi
done
}