diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 2dc14b5a9..9c9b043fb 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -35,7 +35,7 @@ for SCRIPTS in /etc/cont-init.d/*; do if command -v "source" &>/dev/null; then # Use source to share env variables # shellcheck source=/dev/null - source "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" + /."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" else # Support for posix only shell /."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"