Update 99-run.sh

This commit is contained in:
Alexandre
2021-11-16 22:31:15 +01:00
committed by GitHub
parent 9d0daf346d
commit 184a93cc70

View File

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