From: Michael Tremer Date: Tue, 23 Aug 2022 16:47:21 +0000 (+0000) Subject: compress: Only say that we are extracting when we are extracting X-Git-Tag: 0.9.28~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf71c992a3336dfeceae584d14b72c9cda145ee2;p=pakfire.git compress: Only say that we are extracting when we are extracting Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/compress.c b/src/libpakfire/compress.c index 16c9ef3f3..de311a6c9 100644 --- a/src/libpakfire/compress.c +++ b/src/libpakfire/compress.c @@ -596,8 +596,6 @@ static int __pakfire_extract_entry(struct pakfire* pakfire, struct pakfire_extra // Fetch path const char* path = archive_entry_pathname(entry); - DEBUG(pakfire, "Extracting %s\n", path); - // Prepend the prefix if (*data->prefix) { // Compose file path @@ -638,6 +636,8 @@ static int __pakfire_extract_entry(struct pakfire* pakfire, struct pakfire_extra // Create file & extract payload if (data->writer) { + DEBUG(pakfire, "Extracting %s\n", path); + r = archive_read_extract2(data->archive, entry, data->writer); switch (r) { case ARCHIVE_OK: