]> granicus.if.org Git - xz/commit
xzgrep: exit 0 when at least one file matches.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 11 Jun 2014 17:43:28 +0000 (20:43 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 11 Jun 2014 17:43:28 +0000 (20:43 +0300)
commitceca37901783988204caaf40dff4623d535cc789
tree470a104dfa284d6d9f63a2e96c695e95d82e7c14
parent8c19216baccb92d011694590df8a1262da2e980c
xzgrep: exit 0 when at least one file matches.

Mimic the original grep behavior and return exit_success when
at least one xz compressed file matches given pattern.

Original bugreport:
https://bugzilla.redhat.com/show_bug.cgi?id=1108085

Thanks to Pavel Raiskup for the patch.
src/scripts/xzgrep.in