mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-20 22:39:14 +02:00
Update 99-run.sh
This commit is contained in:
@@ -27,7 +27,6 @@ if bashio::config.true "test"; then
|
|||||||
# Check if yaml is valid
|
# Check if yaml is valid
|
||||||
yamllint -d relaxed --no-warnings $CONFIGSOURCE &> ERROR
|
yamllint -d relaxed --no-warnings $CONFIGSOURCE &> ERROR
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
then
|
|
||||||
echo "Config file is a valid yaml"
|
echo "Config file is a valid yaml"
|
||||||
else
|
else
|
||||||
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE. Errors list :"
|
bashio::log.fatal "Config file has an invalid yaml format. Please check the file in $CONFIGSOURCE. Errors list :"
|
||||||
|
|||||||
Reference in New Issue
Block a user