[hackers] [sbase][PATCH] tar: force decompression

From: Elie Le Vaillant <eolien55_AT_disroot.org>
Date: Sun, 3 Mar 2024 17:17:56 +0100

decomp() needs the force flag -f too.
---
 tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tar.c b/tar.c
index 5f73c26..0361b63 100644
--- a/tar.c
+++ b/tar.c
_AT_@ -593,7 +593,7 @@ main(int argc, char *argv[])
 
 		if (filtertool) {
 			fd = tarfd;
-			tarfd = decomp(tarfd, filtertool, "-cd");
+			tarfd = decomp(tarfd, filtertool, "-cdf");
 			close(fd);
 		}
 
-- 
2.44.0
Received on Sun Mar 03 2024 - 17:17:56 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 03 2024 - 17:24:36 CET