diff options
author | Mark Wielaard <mark@klomp.org> | 2019-06-24 09:31:16 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-06-24 09:31:16 +0200 |
commit | f51f164df0e8a2c0e055174b328b4038a040e547 (patch) | |
tree | bc008281f68827e616e6c8549e0ccef35c1bb34e /bzgrep | |
parent | c1cdd98db3238cb711c7d9cdc5671452ce2822cb (diff) | |
download | bzip2-f51f164df0e8a2c0e055174b328b4038a040e547.tar.gz bzip2-f51f164df0e8a2c0e055174b328b4038a040e547.tar.bz2 bzip2-f51f164df0e8a2c0e055174b328b4038a040e547.zip |
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
Diffstat (limited to 'bzgrep')
0 files changed, 0 insertions, 0 deletions