Browse Source

Network failure event: better description

master
Pekka Helenius 5 years ago
parent
commit
99b615b0ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      updatewine.sh

+ 1
- 1
updatewine.sh View File

@ -265,7 +265,7 @@ function sudoQuestion() {
function checkInternet() {
if [[ $(echo $(wget --delete-after -q -T 5 github.com -o -)$?) -ne 0 ]]; then
echo -e "\nInternet connection failed (GitHub). Please check your connection and try again.\n"
echo -e "\nDNS name resolution failed (GitHub). Please check your network connection settings and try again.\n"
exit 1
fi
rm -f ./index.html.tmp


Loading…
Cancel
Save