Correct expansion of Saves path
This commit is contained in:
parent
5a9b188b38
commit
656643cad4
@ -269,7 +269,7 @@ start_server() {
|
||||
|
||||
# xmllint, helps avoiding the random server launch failures for apparently no reason
|
||||
if which xmllint >/dev/null 2>&1; then
|
||||
for xml_file in "${server_directory}"/{*,"Saves"}.xml; do
|
||||
for xml_file in "${server_directory}"/{*,"Saves/"*}.xml; do
|
||||
log "info" "Linting $(important "${xml_file}")"
|
||||
if ! xmllint "${xml_file}" >/dev/null; then
|
||||
log "error" "Xml parsing error in $(important "${xml_file}"), resolve the error and attempt to start again"
|
||||
|
Loading…
Reference in New Issue
Block a user