From 30a688cd472784c2dccd8687b11e055a6554d933 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 18 Nov 2021 18:42:25 +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 d125adb32..6dd32e501 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -52,7 +52,7 @@ fi # Check if database is here or create symlink if [ -f $DATABASESOURCE ]; then # Create symlink if not existing yet - [ ! -L /data/enedisgateway.db ] && ln -sf ${DATABASESOURCE} /data + [ ! -L /data/enedisgateway.db ] && ln -sf ${DATABASESOURCE} /data && echo "creating symlink" bashio::log.info "Using database file found in $DATABASESOURCE" else # Create symlink for addon to create database