data_extract_all: do not complain if directory exists on mkdir

rpm/cpio: move "20653 blocks" printout from get_header_cpio to cpio_main -
rpm doesn't want to have that
This commit is contained in:
Denis Vlasenko
2008-10-17 14:03:56 +00:00
parent aa9eb1fc67
commit d83676ec47
3 changed files with 8 additions and 2 deletions

View File

@@ -344,5 +344,8 @@ int cpio_main(int argc UNUSED_PARAM, char **argv)
while (get_header_cpio(archive_handle) == EXIT_SUCCESS)
continue;
/* see get_header_cpio */
printf("%lu blocks\n", (unsigned long)(ptrdiff_t)(archive_handle->ah_priv[2]));
return EXIT_SUCCESS;
}