From 25c2e6cb07c9edb097c2062aaddd476d13f01a8a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 2 Mar 2025 14:32:55 +0100 Subject: [PATCH] Lint --- .templates/ha_entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index 092d6d7a3..cbc78dcb9 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -42,6 +42,7 @@ for SCRIPTS in /etc/cont-init.d/*; do sed -i "s/(.*\s|^)exit ([0-9]+)/\1 return \2 || exit \2/g" "$SCRIPTS" sed -i "s/bashio::exit.nok/return 1/g" "$SCRIPTS" sed -i "s/bashio::exit.ok/return 0/g" "$SCRIPTS" + # shellcheck disable=SC1090 source "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?" else "$SCRIPTS" || echo -e "\033[0;31mError\033[0m : $SCRIPTS exiting $?"