diff --git a/lib/config/configitem.cpp b/lib/config/configitem.cpp index b73778da8..b966e4dc5 100644 --- a/lib/config/configitem.cpp +++ b/lib/config/configitem.cpp @@ -263,8 +263,10 @@ DynamicObject::Ptr ConfigItem::Commit(void) /* Update or create the object and apply the configuration settings. */ bool was_null = false; - if (!dobj && !IsAbstract()) { - dobj = dtype->CreateObject(update); + if (!dobj) { + if (!IsAbstract()) + dobj = dtype->CreateObject(update); + was_null = true; }