Ya I'm not sure that this would work either. You probably want to "exit 0" for success and "exit 1" for failure, then have cap capture the exit status. I'm not sure how the run method works, but you'll have to look that up.