This returns with the exit code of true so it hides the previous commands success or failure.
> run "service snmpd restart; true" On Oct 21, 2011, at 11:33 AM, Brian Carpio <[email protected]> wrote: > Currently if I run a command in a task lets say > > run "service snmpd restart" > > if this fails the entire cap job fails, I want to know if there is a > way to set certain tasks or even run jobs inside of a task to be > "allowed" to fail. > > In Fabric there is an idea of env.warn_only = True which would allow > run commands to fail, send a warning then continue to the next run > job. > > I wasn't able to find anything in the documentation about this. Thanks > for any assistance. > > Brian Carpio > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
