1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Redirect curl to /dev/null

This commit is contained in:
deajan 2016-04-08 21:11:57 +02:00
parent 39de9cdfa5
commit e0e3804e27

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