nadarei/mina — pull request #95 by borovsky (2013-02-13 11:54:31+00:00)
Title: Fixed exit status returning

1. If exit status is greater than 255, it returned as 0 (success)
2. Process::Status.to_i returns status shifted left by 8 ([Documentation](http://rubydoc.info/stdlib/core/Process/Status))

As result if deployment script fails, mina returns success status (and build not fails)

It's fix for this problem.