Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-18 05:35:14 +01:00
committed by GitHub
parent b9c4bda62a
commit 4c0ea1a5fe

View File

@@ -21,6 +21,7 @@ else
fi
# Check if yaml is valid
EXIT_CODE=0
yamllint -d relaxed --no-warnings $CONFIGSOURCE &> ERROR || EXIT_CODE=$?
if [ $EXIT_CODE = 0 ]; then
echo "Config file is a valid yaml"