Browse Source

added missing quotes

pull/475/head
Daniel Gibbs 10 years ago
parent
commit
0b30a37c3c
  1. 6
      functions/fn_details_config

6
functions/fn_details_config

@ -529,7 +529,7 @@ elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
# server name
if [ -f "${servercfgfullpath}" ]; then
servername=$(grep "ServerName=" ${servercfgfullpath}|sed 's/ServerName=//g')
servername=$(grep "ServerName=" "${servercfgfullpath}"|sed 's/ServerName=//g')
if [ ! -n "${servername}" ]; then
servername="NOT SET"
fi
@ -539,7 +539,7 @@ elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
# server password
if [ -f "${servercfgfullpath}" ]; then
serverpassword=$(grep "GamePassword=" ${servercfgfullpath}|sed 's/GamePassword=//g')
serverpassword=$(grep "GamePassword=" "${servercfgfullpath}"|sed 's/GamePassword=//g')
if [ ! -n "${serverpassword}" ]; then
serverpassword="NOT SET"
fi
@ -549,7 +549,7 @@ elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
# admin password
if [ -f "${servercfgfullpath}" ]; then
adminpassword=$(grep "AdminPassword=" ${servercfgfullpath}|sed 's/AdminPassword=//g')
adminpassword=$(grep "AdminPassword=" "${servercfgfullpath}"|sed 's/AdminPassword=//g')
if [ ! -n "${adminpassword}" ]; then
adminpassword="NOT SET"
fi

Loading…
Cancel
Save