diff --git a/functions/fn_details_config b/functions/fn_details_config index a547b293f..db90f84f1 100644 --- a/functions/fn_details_config +++ b/functions/fn_details_config @@ -5,7 +5,7 @@ # Version: 100715 # Description: Gets specific details from config files. -if [ -e ${servercfgfullpath} ]; then +if [ -e "${servercfgfullpath}" ]; then if [ "${engine}" == "avalanche" ]; then servername=$(grep -s Name "${servercfgfullpath}"|sed 's/Name//g'|tr -d '=\"; '|sed 's/,//g')