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")"