2
0
Эх сурвалжийг харах

Added additional Check for Docker Hub

DerLinkman 2 жил өмнө
parent
commit
0b00f15811
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -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