Blame SOURCES/bz1342376-2-rabbitmq-cluster-backup-and-restore-users-policies.patch

15862b
From 57807fdcd3edf4428e193d43033a56cd9542b150 Mon Sep 17 00:00:00 2001
15862b
From: Peter Lemenkov <lemenkov@redhat.com>
15862b
Date: Tue, 30 May 2017 13:43:19 +0200
15862b
Subject: [PATCH] [rabbitmq] Typo fix
15862b
15862b
Unfortunately we introduced a regression with commit
15862b
1f57e26816d8148e0c77ff7573457b8d2599bf8b. This patch addresses it and
15862b
fixes #982.
15862b
15862b
Thanks @seabres for the heads up.
15862b
15862b
Signed-off-by: Peter Lemenkov <lemenkov@redhat.com>
15862b
---
15862b
 heartbeat/rabbitmq-cluster | 2 +-
15862b
 1 file changed, 1 insertion(+), 1 deletion(-)
15862b
15862b
diff --git a/heartbeat/rabbitmq-cluster b/heartbeat/rabbitmq-cluster
15862b
index b5060b155..30f032066 100755
15862b
--- a/heartbeat/rabbitmq-cluster
15862b
+++ b/heartbeat/rabbitmq-cluster
15862b
@@ -455,7 +455,7 @@ rmq_stop() {
15862b
 					{'EXIT', _} -> [];
15862b
 					Any -> Any
15862b
 				end,
15862b
-				Result /= [] andalso file:write_file(Filename, io_lib:fwrite(\"~p.~n\", [RuntimeParams]))
15862b
+				Result /= [] andalso file:write_file(Filename, io_lib:fwrite(\"~p.~n\", [Result]))
15862b
 			end,
15862b
 
15862b
 			%% Backup users