Redirect curl to /dev/null
This commit is contained in:
parent
0ca9b75085
commit
8dbc37eb52
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue