mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Hide START_PERIOD=0 from log
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ if [ "$1" = 'autoheal' ] && [ -e ${DOCKER_SOCK} ]; then
|
||||
fi
|
||||
|
||||
AUTOHEAL_START_PERIOD=${AUTOHEAL_START_PERIOD:=0}
|
||||
echo "Monitoring containers for unhealthy status in ${AUTOHEAL_START_PERIOD} second(s)"
|
||||
echo "Monitoring containers for unhealthy status $([ "${AUTOHEAL_START_PERIOD}" != 0 ] && echo "in ${AUTOHEAL_START_PERIOD} second(s)")"
|
||||
sleep ${AUTOHEAL_START_PERIOD}
|
||||
|
||||
while true; do
|
||||
|
||||
Reference in New Issue
Block a user