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

This commit is contained in:
Martin Willi 2014-08-25 10:36:01 +02:00
parent 68da3bad57
commit d8ad0fc351
1 changed files with 1 additions and 1 deletions

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);