From c3b7343c91b359080a9a0c03d7118d5a6bcd390b Mon Sep 17 00:00:00 2001 From: tuxe Date: Sat, 16 Feb 2019 10:51:28 +0100 Subject: [PATCH] changed travis file --- .travis.yml | 2 +- tracert.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a4e9d8..8414e3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,2 @@ language: bash -script: bash tracert.sh google.com +script: bash tracert.sh github.com diff --git a/tracert.sh b/tracert.sh index dc1cec8..1e8a1c1 100755 --- a/tracert.sh +++ b/tracert.sh @@ -31,8 +31,6 @@ host=$1 while true; do ping=$(ping -t $i -c 1 -W $timeout $host | grep -E "From|from") - [[ "$?" == 1 ]] && exit 1 - if [[ $(echo $ping | cut -d ' ' -f 1) == "64" ]] then #For last hop in route: