Correct expansion of Saves path

This commit is contained in:
Price Hiller 2022-01-01 02:52:21 -06:00
parent 5a9b188b38
commit 656643cad4

View File

@ -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"