Highlight bad xml file
This commit is contained in:
parent
c8be47aa63
commit
e78ad6e610
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user