Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
enty8080 authored May 1, 2020
1 parent c24ccf5 commit 9bfd057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ then
fi

{
ASESR="$( curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )"
ASESR="$( ping -c 1 -q google.com >&/dev/null; echo $? )"
} &> /dev/null
if [[ "$ASESR" = "" ]]
if [[ "$ASESR" != 0 ]]
then
sleep 1
echo -e ""$RS"[-] "$WHS"No Internet connection!"$CE""
Expand Down

0 comments on commit 9bfd057

Please sign in to comment.