diff --git a/enedisgateway2mqtt/rootfs/entrypoint.sh b/enedisgateway2mqtt/rootfs/entrypoint.sh index 50eadda56..c7b84b3a4 100644 --- a/enedisgateway2mqtt/rootfs/entrypoint.sh +++ b/enedisgateway2mqtt/rootfs/entrypoint.sh @@ -5,6 +5,7 @@ ########### for SCRIPTS in "/00-.sh" "/00-banner.sh" "/run.sh"; do + [ -e "$SCRIPTS" ] || continue echo $SCRIPTS chown $(id -u):$(id -g) $SCRIPTS chmod a+x $SCRIPTS