We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cce717 + bb4443c commit a8e976aCopy full SHA for a8e976a
1 file changed
runs/setup_network.sh
@@ -63,7 +63,7 @@ function setup_pnp_network() {
63
}
64
65
function check_internet_connection() {
66
- if curl -s --head --request GET "https://www.github.com" >/dev/null; then
+ if curl -s --head --connect-timeout 3 --request GET "https://www.github.com" >/dev/null; then
67
echo "Internet connection is up"
68
else
69
echo "ERROR: no internet connection!"
0 commit comments