do not try to get an archive list if it is inside another archive

This commit is contained in:
Brad Parker 2016-11-28 18:19:54 -05:00
parent 0a83f7a888
commit 7be7568d7d
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ database_info_handle_t *database_info_dir_init(const char *dir,
{
const char *path = db->list->elems[i].data;
if (path_is_compressed_file(path))
if (path_is_compressed_file(path) && !path_contains_compressed_file(path))
{
struct string_list *archive_list =
file_archive_get_file_list(path, NULL);