diff --git a/dir_list_special.c b/dir_list_special.c index 15a72988d8..71bd76ed2e 100644 --- a/dir_list_special.c +++ b/dir_list_special.c @@ -61,5 +61,5 @@ struct string_list *dir_list_new_special(const char *input_dir, enum dir_list_ty return NULL; } - return dir_list_new(dir, exts, include_dirs, false); + return dir_list_new(dir, exts, include_dirs, type == DIR_LIST_CORE_INFO); }