zgrep: exit with status 0 if a file matches and there's no trouble
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Jun 2014 01:43:08 +0000 (18:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 13 Jun 2014 01:43:30 +0000 (18:43 -0700)
commitd2a1928e5534017456dc8a3b600ba0b30cce4a6e
tree758241d1e9720d5f5b414b5882ab56418931d20a
parented8cd406121c3df501e94d14a6307b79594703c3
zgrep: exit with status 0 if a file matches and there's no trouble

Reported by Pavel Raiskup in: http://bugs.gnu.org/17760
* zgrep.in (res): Treat exit status 0 to be greater than 1.
Also, exit immediately on software configuration error.
zgrep.in