On 3/13/09 9:14 AM, S. Robert James wrote:
> Does Capistrano check the exit status of the remote command ("run"
> method)?

Yes. It will raise an exception if a command finishes with a non-zero
exit status.

> I see that the deploy:setup task will run mkdir even the dirs already
> exist - this should exit nonzero - but I don't see any special
> handling to say "it's okay, keep on going".

deploy:setup actually runs "mkdir -p", which will not exit non-zero if
directories already exist.

- Jamis

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to