From 275a5f69c2037bc4304c12b31d209bf8f0a91b69 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:06:43 +0200 Subject: [PATCH] Update ha_entrypoint.sh --- .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 89467ef97..690606c91 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -40,7 +40,7 @@ EOF chmod +x "$tmp" # Run the probe and check for at least one digit in the output - out="$("$tmp" 2>/dev/null || true)" + out="$(exec "$tmp" 2>/dev/null || true)" if printf '%s' "$out" | grep -qE '[0-9]'; then shebang="$candidate" echo "Valid shebang: $shebang (bashio::addon.version -> $out)"