Commit dd285a1f authored by Romain Hunault's avatar Romain Hunault

Remove ping

parent f2a25500
......@@ -49,7 +49,7 @@ function check_md5sum () {
exit $?
}
if ! ping -c 1 gitlab.e.foundation 2>&1 >/dev/null
if ! curl -s -IL https://gitlab.e.foundation | grep -q "^HTTP\/2 200"
then
exit 10
fi
......
......@@ -37,7 +37,8 @@
ARCHIVE_URL=$1
FOLDER=$2
if ! ping -c 1 gitlab.e.foundation 2>&1 >/dev/null
if ! curl -s -IL https://gitlab.e.foundation | grep -q "^HTTP\/2 200"
then
exit 10
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment