Merge pull request #346 from morbeo/patch-1

Quoting a variable to avoid expansion
This commit is contained in:
M-D-M
2017-04-18 11:47:41 -04:00
committed by GitHub

View File

@ -1833,7 +1833,7 @@ server_property() {
read_server_conf "$1" "$2"
local target_varname=SERVER_$2[$1]
if [ -z ${!target_varname} ]; then
if [ -z "${!target_varname}" ]; then
# if its still empty use the default value
manager_property "DEFAULT_$2"
server_set_property "$1" "$2" "\$SETTINGS_DEFAULT_$2"