Exit out on xmllint error

This commit is contained in:
Price Hiller 2021-12-26 02:07:24 -06:00
parent eb393896ac
commit c8be47aa63

View File

@ -262,6 +262,7 @@ start_server() {
log "info" "Linting $(important "${xml_file}")..."
if ! xmllint "${xml_file}" > /dev/null; then
log "error" "Xml parsing error in ${xml_file}, resolve the error and attempt to start again"
return 1
fi
done
else