1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-25 02:29:32 +02:00

Added additional Check for Docker Hub

This commit is contained in:
DerLinkman 2022-11-30 17:37:33 +01:00
parent a6a7ab45f8
commit 0b00f15811

View File

@ -3,7 +3,7 @@
############## Begin Function Section ##############
check_online_status() {
CHECK_ONLINE_DOMAINS=('https://github.com')
CHECK_ONLINE_DOMAINS=('https://github.com' 'https://hub.docker.com')
for domain in "${CHECK_ONLINE_DOMAINS[@]}"; do
if timeout 3 curl --head --silent --output /dev/null ${domain}; then
return 0