mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
Use curl to check for connection instead of ping (#353)
Some people seem to have issues with ping.
This commit is contained in:
1 parent
ec829371c9
commit
0be469d16a
1 file changed
+1
-1
+1
-1
@@ -325,7 +325,7 @@ function _wait_for() {
|
||||
}
|
||||
|
||||
function _network() {
|
||||
ping -q -c 1 -W 1 static.palera.in &>/dev/null
|
||||
curl -s -m 1 https://static.palera.in &>/dev/null
|
||||
}
|
||||
|
||||
function _check_network_connection() {
|
||||
|
||||
Reference in new issue
Block a user