Update 01-custom_script.sh

This commit is contained in:
Alexandre
2025-02-11 15:06:57 +01:00
committed by GitHub
parent 10efcbd829
commit cca2be0bec

View File

@@ -6,8 +6,8 @@ set -e
# INITIALIZATION # # INITIALIZATION #
################## ##################
# Exit if /config is not mounted # Exit if /config is not mounted or HA not used
if [ ! -d /config ]; then if [ ! -d /config ] || ! bashio::supervisor.ping 2>/dev/null; then
exit 0 exit 0
fi fi