Hide START_PERIOD=0 from log

This commit is contained in:
Thomas Dietrich
2020-06-03 15:07:24 +02:00
committed by GitHub
parent 3be3e16bb2
commit a1332a717f
+1 -1
View File
@@ -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