Update 01-config_yaml.sh

This commit is contained in:
Alexandre
2025-02-11 15:07:16 +01:00
committed by GitHub
parent cca2be0bec
commit a6050c73ff

View File

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