Forgot to close overridden xml tags, fixed
This commit is contained in:
parent
c1e347fad0
commit
bce8f095fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user