v. 0.7.6.1
When using curl to check the internet connection, add option '-f', and exit on 404 errors.