On 3/13/09 9:44 AM, S. Robert James wrote:
> Neat - got it.
> Where is this exception raised in the Capisterano source code?

http://github.com/jamis/capistrano/blob/df0935c4c135207582da343aacdd4cf080fcfed0/lib/capistrano/command.rb#L171-173

or, if that gets shattered into a million pieces, here's a tinyurl:

http://tinyurl.com/dm6wpg

- Jamis

> 
> On Mar 13, 11:40 am, Jamis Buck <[email protected]> wrote:
>> 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