commit | f51f164df0e8a2c0e055174b328b4038a040e547 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Mon Jun 24 09:31:16 2019 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Mon Jun 24 09:31:16 2019 +0200 |
tree | bc008281f68827e616e6c8549e0ccef35c1bb34e | |
parent | c1cdd98db3238cb711c7d9cdc5671452ce2822cb [diff] |
bzip2: Fix return value when combining --test,-t and -q. When passing -q to get quiet output --test would not display an error message, but would also suppress the exit 2 code to indicate the file was corrupt. Only suppress the error message with -q, not the exit value. This patch comes from Debian. "bunzip2 -qt returns 0 for corrupt archives" https://bugs.debian.org/279025