spawngrid/kerl — pull request #27 by Line-Noise (2012-07-20 15:55:35+00:00)
Title: More robust error checking

G'day!

Here's a patch to more robustly catch errors from commands.

Basically, rather than testing for an explicit exit code of 1 it tests for an exit code of not zero.

In particular, it catches the failed agner make in issue #16 where make is exiting with a code 2 but was being treated as successful.

Hope this helps!