diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index baf4e6a7b..a00ee400d 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -71,6 +71,7 @@ if bashio::config.has_value "TZ"; then ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone else bashio::log.warning "Timezone $TZ is invalid, it will be kept to default value of $(cat /etc/timezone)" + fi fi ##############