diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 30e973e..81aeee2 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -679,10 +679,7 @@ INSTALL_WATCHTOWER() { -e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 \ containrrr/watchtower echo -e "\n${idsCL[Green]}Watchtower has been installed${idsCL[Default]}\n" - # until [ "$(docker inspect -f {{.State.Health.Status}} watchtower)"=="healthy" ]; do - until [ "$(docker logs watchtower)"!="" ]; do - sleep 0.1; - done + until [ "$(docker inspect -f {{.State.Health.Status}} watchtower)"=="healthy" ]; do sleep 0.1; done; sleep 1s docker logs watchtower echo ;;