settings: Make loading a NULL or empty pattern a (nop-)success

This commit is contained in:
Martin Willi
2014-09-22 13:40:39 +02:00
parent 68da3bad57
commit d8ad0fc351
+1 -1
View File
@@ -856,7 +856,7 @@ static bool load_files_internal(private_settings_t *this, section_t *parent,
if (pattern == NULL || !pattern[0])
{ /* TODO: Clear parent if merge is FALSE? */
return FALSE;
return TRUE;
}
section = settings_section_create(NULL);