Ignore trailing junk on .gz by default, to emulate gzip.
pigz would always issue a warning and return a non-zero error code
if the input gzip stream had non-gzip junk at the end. Now pigz
behaves like gzip, which ignores the junk, unless -v (--verbose) is
given, in which case there is a warning and a non-zero return code.
diff --git a/pigz.c b/pigz.c
index 98b2dd9..2b99f55 100644
--- a/pigz.c
+++ b/pigz.c
@@ -3570,7 +3570,7 @@
complain("warning: %s: entries after the first were ignored", g.inf);
// check for non-gzip after gzip stream, or anything after zlib stream
- else if ((g.form == 0 && ret != -1) ||
+ else if ((g.verbosity > 1 && g.form == 0 && ret != -1) ||
(g.form == 1 && (GET(), !g.in_eof)))
complain("warning: %s: trailing junk was ignored", g.inf);
}