From 8cdd078e3b3bb35048834c70672c565988247e23 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 13 Jan 2024 23:06:40 +0100 Subject: [PATCH] Source instead of execute --- .templates/ha_entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index e2b4c39ea..dcb7565ba 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -32,7 +32,7 @@ for SCRIPTS in /etc/cont-init.d/*; do fi # Start the script - /."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" + source "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" # Cleanup rm "$SCRIPTS"