xzgrep: exit 0 when at least one file matches.
commit64228d0d5cd75af31e5c330cc3a792016413fabf
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 11 Jun 2014 17:43:28 +0000 (11 20:43 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 9 Sep 2014 16:18:23 +0000 (9 19:18 +0300)
tree75d641e588d4b554f84d16af63707183c7fce196
parent98d3368ef4bff0face78d6932f2156730c8cb658
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