From 4b501845c5efaf2415f0ef093d46830a62558b6a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Nov 2025 12:33:15 +0100 Subject: [PATCH] Fix echo command to append an empty line to /tempenv --- .templates/01-config_yaml.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 71f6f22c7..ea8f31830 100755 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -93,7 +93,6 @@ cp "$CONFIGSOURCE" /tempenv sed -i '/^#/d' /tempenv sed -i '/^[[:space:]]*$/d' /tempenv sed -i '/^$/d' /tempenv -echo "" >> /tempenv # Exit if empty if [ ! -s /tempenv ]; then @@ -101,6 +100,8 @@ if [ ! -s /tempenv ]; then exit 0 fi +echo "" >> /tempenv + echo "" bashio::log.green "Load environment variables from $CONFIGSOURCE if existing" if [[ "$CONFIGSOURCE" == "/config"* ]]; then