1
0
mirror of git://git.suckless.org/sbase synced 2025-03-18 17:19:59 +00:00

tar: force decompression

decomp() needs the force flag -f too.
This commit is contained in:
Elie Le Vaillant 2024-12-06 10:37:41 +01:00 committed by Roberto E. Vargas Caballero
parent 782afdf8c6
commit cafdc7c656

2
tar.c
View File

@ -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);
}