Redirect curl to /dev/null

This commit is contained in:
deajan 2016-04-08 21:11:57 +02:00
parent 39de9cdfa5
commit e0e3804e27
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function Statistics {
fi
if type curl > /dev/null; then
curl $link > /dev/null 2>&1
curl -o /dev/null $link > /dev/null 2>&1
if [ $? == 0 ]; then
return 0
fi