From ac2d87263173ba864930c88d7e3f7c5341eb0032 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:22:27 +0200 Subject: [PATCH] Update ha_entrypoint.sh --- .templates/ha_entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.templates/ha_entrypoint.sh b/.templates/ha_entrypoint.sh index c3980e0e5..2d832d703 100755 --- a/.templates/ha_entrypoint.sh +++ b/.templates/ha_entrypoint.sh @@ -43,7 +43,8 @@ EOF chmod +x "$tmp" # Run the probe and check for at least one digit in the output - out="$(exec "$tmp" 2>/dev/null || true)" + out="$("$tmp" 2>/dev/null || true)" + echo "Output is $out" if printf '%s' "$out" | grep -qE '[0-9]'; then shebang="$candidate" break