HomeClusterLabs Projects

Fix wrong return value: s/OCF_RUNNING/OCF_SUCCESS/

Description

Fix wrong return value: s/OCF_RUNNING/OCF_SUCCESS/

There is no OCF_RUNNING.
return $OCF_RUNNING looks good, and will be hard to spot when reviewing
resource agents, but will typically expand to "return" (because
OCF_RUNNING is undefined), and thus return the exit code of the previous
command.

This may or may not be the indented value 0.

Details

Provenance
Lars Ellenberg <lars.ellenberg@linbit.com>Authored on Aug 26 2011, 9:26 AM
Parents
rR5d44caf5f89f: Merge pull request #25 from dizopsin/patch-1
Branches
Unknown
Tags
Unknown

Event Timeline