fix mistake
This commit is contained in:
@ -10,10 +10,10 @@ if [ ! -s to_download_r34.txt ]; then
|
||||
exit 0
|
||||
else
|
||||
echo "file not empty"
|
||||
if [ $(ping -qc 3 rule34.xxx) ]; then
|
||||
echo "has internet"
|
||||
else
|
||||
if [ $(ping -qc 3 rule34.xxx > /dev/null 2>&1) ]; then
|
||||
echo "no internet"
|
||||
exit 1
|
||||
else
|
||||
echo "has internet"
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user