Forgot to close overridden xml tags, fixed

This commit is contained in:
Price Hiller 2021-12-26 01:31:08 -06:00
parent c1e347fad0
commit bce8f095fd

View File

@ -241,11 +241,11 @@ start_server() {
printf "\t%s\n" "<property name=\"SaveGameFolder\" value=\"${server_save_dir}\" />"
# Override UserDataFolder, opiniated in that it should exist in the Server Directory
elif [[ "${REPLY}" = *"property name=\"UserDataFolder\""* ]]; then
printf "\t%s\n" "<property name=\"UserDataFolder\" value=\"${server_userdata_dir}\""
printf "\t%s\n" "<property name=\"UserDataFolder\" value=\"${server_userdata_dir}\" />"
# This is a path RELATIVE to the save game folder, hence we overwrite ../ so it's in the
# base of the server directory
elif [[ "${REPLY}" = *"property name=\"AdminFileName\""* ]]; then
printf "\t%s\n" "<property name=\"AdminFileName\" value=\"../serveradmin.xml\""
printf "\t%s\n" "<property name=\"AdminFileName\" value=\"../serveradmin.xml\" />"
else
printf "%s\n" "${REPLY}"
fi