zgrep: don't assume traditional behavior with signal numbers
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Nov 2010 08:57:49 +0000 (00:57 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Nov 2010 08:58:12 +0000 (00:58 -0800)
commit4962e55522a41562a00e8a881ce7b2427564a6dd
treec4c01fb87271ce0c4f3cdaa4c72208291493c4ce
parenteca422584b9aca740d13c02e92e113225bc8c30f
zgrep: don't assume traditional behavior with signal numbers

* zgrep.in: Don't assume the exit status is the signal number plus
128, as POSIX doesn't require this.  No need to kill self; exiting
with large status is enough.  Propagate all exit statuses greater
than 1, not merely those in the range 129..143, as there's no need
to treat that range specially (and it's not portable anyway).
zgrep.in