andryyy 2019-05-12 15:22:12 +02:00
commit 9eebc7c524
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ for option in ${CONFIG_ARRAY[@]}; do
done
echo -en "Checking internet connection... "
curl -o /dev/null 1.1.1.1 -sm3
timeout 3 ping -c 1 9.9.9.9 > /dev/null
if [[ $? != 0 ]]; then
echo -e "\e[31mfailed\e[0m"
exit 1