From 3c12ed2503a35e61173b29130fc924fd1cb57026 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 15 Jan 2024 13:47:52 +0100 Subject: [PATCH] Update ha_entrypoint.sh --- .templates/ha_entrypoint.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 990e733f8..5d34d7884 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -38,14 +38,11 @@ for SCRIPTS in /etc/cont-init.d/*; do sed -i "s/bashio::exit.ok/return 0/g" "$SCRIPTS" # shellcheck source=/dev/null source "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" - # Support for posix only shell else + # Support for posix only shell /."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" fi - # Start the script - /."$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" - # Cleanup rm "$SCRIPTS" done