diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index 6b6c8749b..958a00ecf 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -4,7 +4,7 @@ CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") # Check if config file is there, or create one from template -if [ ! -f $CONFIGSOURCE ]; then +if [ -f $CONFIGSOURCE ]; then echo "Using config file found in $CONFIGSOURCE" else echo "No config file, creating one from template"