mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update ha_entrypoint.sh
This commit is contained in:
@@ -43,7 +43,8 @@ EOF
|
|||||||
chmod +x "$tmp"
|
chmod +x "$tmp"
|
||||||
|
|
||||||
# Run the probe and check for at least one digit in the output
|
# 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
|
if printf '%s' "$out" | grep -qE '[0-9]'; then
|
||||||
shebang="$candidate"
|
shebang="$candidate"
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user