From 19641ecf2e91bf7773365de317a173711782e93a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 17 Nov 2021 18:34:10 +0100 Subject: [PATCH] Update 99-run.sh --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"