Merge pull request #2597 from Javinator9889/patch-1

Update update.sh
This commit is contained in:
André Peters 2019-05-12 14:54:13 +02:00 committed by GitHub
commit 15121b06ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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