Update ha_entrypoint_modif.sh

This commit is contained in:
Alexandre
2024-03-17 12:22:34 +01:00
committed by GitHub
parent 53e9f65dee
commit 11dccc6a19

View File

@@ -38,7 +38,7 @@ fi
mkdir -p /run/s6/container_environment
# Check if shebang exists
for shebang in "/command/with-contenv bashio" "/usr/bin/env bashio" "/usr/bin/bashio" "/bin/bash" "/bin/sh"; do
for shebang in "/command/with-contenv bashio" "/usr/bin/env bashio" "/usr/bin/bashio" "/usr/bin/bash" "/usr/bin/sh" "/bin/bash" "/bin/sh"; do
if [ -f "${shebang%% *}" ]; then
break
fi