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 [ ! -z "$from_conf" ]; then
|
||||||
# If the value is found in the server conf file (server.properties)
|
# If the value is found in the server conf file (server.properties)
|
||||||
# then set that as value for the property
|
# then set that as value for the property
|
||||||
eval SERVER_$2[$1]=\"$from_conf\"
|
server_set_property "$1" "$2" "$from_conf"
|
||||||
else
|
else
|
||||||
# Otherwise use the default value
|
# Otherwise use the default value
|
||||||
manager_property "DEFAULT_$2"
|
manager_property "DEFAULT_$2"
|
||||||
eval SERVER_$2[$1]=\"\$SETTINGS_DEFAULT_$2\"
|
server_set_property "$1" "$2" "\$SETTINGS_DEFAULT_$2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Post-changes to variables after loading
|
### Post-changes to variables after loading
|
||||||
|
Loading…
Reference in New Issue
Block a user