Exit out on xmllint error
This commit is contained in:
parent
eb393896ac
commit
c8be47aa63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user