mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 15:13:53 +01:00
Redirect curl to /dev/null
This commit is contained in:
parent
39de9cdfa5
commit
e0e3804e27
@ -181,7 +181,7 @@ function Statistics {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if type curl > /dev/null; then
|
if type curl > /dev/null; then
|
||||||
curl $link > /dev/null 2>&1
|
curl -o /dev/null $link > /dev/null 2>&1
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user