From ee9e516d9ea63f4e168a8d44e8b43e3ac415e660 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 18 May 2026 15:38:04 +0200 Subject: [PATCH] Fix environment variables in cron https://github.com/alexbelgium/hassio-addons/issues/2682 --- fireflyiii_data_importer/rootfs/templates/cronupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fireflyiii_data_importer/rootfs/templates/cronupdate b/fireflyiii_data_importer/rootfs/templates/cronupdate index b9e8db10a3..f86c28b072 100644 --- a/fireflyiii_data_importer/rootfs/templates/cronupdate +++ b/fireflyiii_data_importer/rootfs/templates/cronupdate @@ -4,7 +4,7 @@ set -e # Source environment variables for cron context # shellcheck disable=SC1091 -if [ -f /etc/environment ]; then set -a; . /etc/environment; set +a; fi +if [ -f /etc/environment ]; then chmod +x /etc/environment; set -a; /./etc/environment; set +a; fi CONFIGSOURCE="$(bashio::config "CONFIG_LOCATION")"