From 02073649706fea0836444b694addeb06faddda43 Mon Sep 17 00:00:00 2001 From: Alexey Lebedeff Date: Thu, 21 Jan 2016 17:22:44 +0300 Subject: [PATCH] Fix uninitialized variable in rabbitmq script Upstream: https://github.com/rabbitmq/rabbitmq-server/pull/571 Shell was sometimes complaining at line 1447 due to empty `rc_check` Change-Id: I9411fbc41f8ebf6ac41504ff7456ee7952485564 Partial-Bug: #1531838 --- files/fuel-ha-utils/ocf/rabbitmq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/fuel-ha-utils/ocf/rabbitmq b/files/fuel-ha-utils/ocf/rabbitmq index abf5879f81..06a0c76915 100755 --- a/files/fuel-ha-utils/ocf/rabbitmq +++ b/files/fuel-ha-utils/ocf/rabbitmq @@ -1360,7 +1360,7 @@ get_monitor() { local name local node local nodelist - local rc_check + local rc_check=$OCF_SUCCESS local max local our_uptime local node_uptime