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 @@ -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