On Fri, Nov 27, 2015 at 12:37:38PM +0000, Ramsay Jones wrote:

> > -   if test $exit_code = 0; then
> > +   if ! list_contains "$_test_ok" success && test "$exit_code" -eq 0
> > +   then
> 
> minor nit:
> 
> I would prefer this was 'if test $exit_code -eq 0 && ! list_contains ...'
> 
> ie. the test on exit code comes first (and no need for the double quotes).
> The whole if..elif.. chain is about testing the exit code, with a couple
> of exceptions ...

I agree, it makes the logic a bit easier to follow. I've tweaked it
while applying; no need to re-send.

> The same comment applies to the second patch with exit code 141/SIGPIPE.

Got that one, too.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to