From 0be469d16aee6126861e265de6c98ae221c14aac Mon Sep 17 00:00:00 2001 From: alexia Date: Thu, 9 Feb 2023 01:11:56 +0100 Subject: [PATCH] Use curl to check for connection instead of ping (#353) Some people seem to have issues with ping. --- palera1n.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/palera1n.sh b/palera1n.sh index da93be4..a9f65ed 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -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() {