From 5ae42d229e91825910a0ca343bfc2aca5adccc19 Mon Sep 17 00:00:00 2001 From: Nicolas Riss <48218773+nriss@users.noreply.github.com> Date: Tue, 8 Jun 2021 11:00:20 +0200 Subject: [PATCH] fix(updatePublisher): checking connection * test connexion * fix(updatePublisher): checking connection Co-authored-by: simonvadee --- _updatePublisher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_updatePublisher.sh b/_updatePublisher.sh index e28128b..546faae 100755 --- a/_updatePublisher.sh +++ b/_updatePublisher.sh @@ -32,7 +32,7 @@ done echo "Checking internet connection" case "$OSTYPE" in - linux-gnu* ) ping tx.fhir.org -4 -c 1 -w 1000 >/dev/null ;; + linux-gnu* ) curl -sSf tx.fhir.org > /dev/null ;; darwin* ) ping tx.fhir.org -c 1 >/dev/null ;; *) echo "unknown: $OSTYPE"; exit 1 ;; esac