Daniel Hansson 2018-04-06 13:21:54 +02:00 committed by GitHub
parent 95c15bf9b1
commit e059bee6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ true
DEBUG=0
debug_mode
$WGET -q --tries=20 --timeout=10 http://www.google.com -O /tmp/google.idx &> /dev/null
if [ ! -s /tmp/google.idx ]
$WGET -q --tries=20 --timeout=10 http://www.github.com -O /tmp/github.idx &> /dev/null
if [ ! -s /tmp/github.idx ]
then
printf "${Red}Not Connected!${Color_Off}\n"
else