summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/common/rabbitmq-server-ha.ocf2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-server-ha.ocf b/packaging/common/rabbitmq-server-ha.ocf
index f9143ec925..5ccda7b745 100755
--- a/packaging/common/rabbitmq-server-ha.ocf
+++ b/packaging/common/rabbitmq-server-ha.ocf
@@ -1548,7 +1548,7 @@ action_notify() {
ocf_log info "${LH} post-promote end."
if [ $rc -eq $OCF_ERR_GENERIC ] ; then
ocf_log err "${LH} Failed to join the cluster on post-promote. The resource will be restarted."
- return $OCF_NOT_RUNNING
+ return $OCF_ERR_GENERIC
fi
;;
start)