nvie/rq — pull request #84 by jonasvp (2012-06-19 08:19:00+00:00)
Title: Use a non-zero exit code on errors in scripts

We use supervisor (http://supervisord.org) to start our worker processes and need to be able to differentiate a "clean" exit from an error, so supervisor can react accordingly. This commit makes rqworker (and rqinfo) return 1 if Redis is unreachable.