mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Use the server_set_property() function to set property values in all cases.
This commit is contained in:
parent
a0850d7595
commit
4f85edb958
4
init/msm
4
init/msm
@ -1814,11 +1814,11 @@ server_property() {
|
||||
if [ ! -z "$from_conf" ]; then
|
||||
# If the value is found in the server conf file (server.properties)
|
||||
# then set that as value for the property
|
||||
eval SERVER_$2[$1]=\"$from_conf\"
|
||||
server_set_property "$1" "$2" "$from_conf"
|
||||
else
|
||||
# Otherwise use the default value
|
||||
manager_property "DEFAULT_$2"
|
||||
eval SERVER_$2[$1]=\"\$SETTINGS_DEFAULT_$2\"
|
||||
server_set_property "$1" "$2" "\$SETTINGS_DEFAULT_$2"
|
||||
fi
|
||||
|
||||
### Post-changes to variables after loading
|
||||
|
Loading…
Reference in New Issue
Block a user