Highlight bad xml file

This commit is contained in:
Price Hiller 2021-12-26 02:08:13 -06:00
parent c8be47aa63
commit e78ad6e610

View File

@ -261,7 +261,7 @@ start_server() {
for xml_file in "${server_directory}"/*.xml; do
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"
log "error" "Xml parsing error in $(important "${xml_file}"), resolve the error and attempt to start again"
return 1
fi
done