Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-16 22:54:31 +01:00
committed by GitHub
parent 38bf3090fa
commit 1b2fb40edc

View File

@@ -25,8 +25,8 @@ yamllint -d relaxed --no-warnings $CONFIGSOURCE &> ERROR || EXIT_CODE=$?
if [ $EXIT_CODE = 0 ]; then
echo "Config file is a valid yaml"
else
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE. Errors list :"
cat ERROR
cat ERROR
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE. Errors list above."
bashio::exit.nok
fi