commit cafdc7c6561f546578e5d7c842149fa242937a42
Author:     Elie Le Vaillant <eolie...@disroot.org>
AuthorDate: Fri Dec 6 10:37:41 2024 +0100
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Tue Dec 17 11:27:35 2024 +0100

    tar: force decompression
    
    decomp() needs the force flag -f too.

diff --git a/tar.c b/tar.c
index dd4fc19..e4701dc 100644
--- a/tar.c
+++ b/tar.c
@@ -614,7 +614,7 @@ main(int argc, char *argv[])
 
                if (filtertool) {
                        fd = tarfd;
-                       tarfd = decomp(tarfd, filtertool, "-cd");
+                       tarfd = decomp(tarfd, filtertool, "-cdf");
                        close(fd);
                }
 

Reply via email to