changed travis file
This commit is contained in:
parent
9167d4bbfd
commit
c3b7343c91
@ -1,2 +1,2 @@
|
|||||||
language: bash
|
language: bash
|
||||||
script: bash tracert.sh google.com
|
script: bash tracert.sh github.com
|
||||||
|
@ -31,8 +31,6 @@ host=$1
|
|||||||
while true; do
|
while true; do
|
||||||
ping=$(ping -t $i -c 1 -W $timeout $host | grep -E "From|from")
|
ping=$(ping -t $i -c 1 -W $timeout $host | grep -E "From|from")
|
||||||
|
|
||||||
[[ "$?" == 1 ]] && exit 1
|
|
||||||
|
|
||||||
if [[ $(echo $ping | cut -d ' ' -f 1) == "64" ]]
|
if [[ $(echo $ping | cut -d ' ' -f 1) == "64" ]]
|
||||||
then
|
then
|
||||||
#For last hop in route:
|
#For last hop in route:
|
||||||
|
Loading…
Reference in New Issue
Block a user