This commit is contained in:
dcmartin 2020-12-30 14:01:20 -08:00
parent e0725dc512
commit c27803224d

View file

@ -212,7 +212,7 @@ fi
i=0; while [ ${i} -le 10 ] && [ -z "${HASSIO_VERSION:-}" ]; do
HASSIO_VERSION=$(curl -sL $URL_VERSION | jq -e -r '.supervisor')
if [ ! -z "${HASSIO_VERSION:-}" ]; then break; fi
info "Waiting on ${URL_VERSION}; sleeping for $((i*2)) seconds""
info "Waiting on ${URL_VERSION}; sleeping for $((i*2)) seconds"
sleep $((i*2))
i=$((i+1))
done