Quote error

This commit is contained in:
Price Hiller 2021-12-31 23:46:55 -06:00
parent 14de859cea
commit c05f0ddb2d

View File

@ -242,7 +242,6 @@ start_server() {
while IFS='' read -r; do
if [[ "${REPLY}" = *"property name=\"ServerPort\""* ]]; then
printf "\t%s\n" "<property name=\"ServerPort\" value=\"${server_port}\" />"
# Override SaveGameFolder, opiniated in that it should exist in the Server Directory
elif [[ "${REPLY}" = *"property name=\"SaveGameFolder\""* ]]; then
printf "\t%s\n" "<property name=\"SaveGameFolder\" value=\"${server_save_dir}\" />"
@ -255,7 +254,7 @@ start_server() {
printf "\t%s\n" "<property name=\"AdminFileName\" value=\"../serveradmin.xml\" />"
# Manage the telnet tags
elif [[ "${REPLY}" = *"property name=\"TelnetPort\""* ]]; then
printf "\t%s\n" "<property name=\"TelnetPort\"" value=\"${telnet_port}\"" />"
printf "\t%s\n" "<property name=\"TelnetPort\" value=\"${telnet_port}\" />"
else
printf "%s\n" "${REPLY}"
fi