Made more robust checking if manager_property has loaded.

This commit is contained in:
Marcus Whybrow 2012-07-20 03:04:52 +01:00
parent 83a304c5c7
commit 6333774d6f

View File

@ -1691,7 +1691,7 @@ manager_property() {
# If this property has not yet been loaded, load it:
eval local loaded=\"\$LOADED_$1\"
if ! "$loaded"; then
if [ ! -z "$loaded" ] && ! "$loaded"; then
if [ ! -z "$from_conf" ]; then
# Override the default value
eval SETTINGS_$1=\"$from_conf\"