Fixing typos a minor changes
parent
be93b490e0
commit
3f1869e6a9
|
|
@ -55,8 +55,8 @@ function validate_num() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function validate_dest() {
|
function validate_dest() {
|
||||||
echo "Validating host '$2' ... "
|
echo "Validating host '$1' ... "
|
||||||
if ping -c 4 2>/dev/null; then
|
if ping -c 2 $1 >/dev/null 2>&1; then
|
||||||
info "OK"
|
info "OK"
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue