Check exit status of rake sub-process.