Blame SOURCES/bz1014641-VirtualDomain-syntax-error.patch

cf07b3
From a165410d95a7976e5249530b08d4dbeca7a7df27 Mon Sep 17 00:00:00 2001
cf07b3
From: David Vossel <dvossel@redhat.com>
cf07b3
Date: Wed, 2 Oct 2013 15:43:56 -0500
cf07b3
Subject: [PATCH] Fix: VirtualDomain: Fixes comparison of uninitialized variable during force stop
cf07b3
cf07b3
---
cf07b3
 heartbeat/VirtualDomain |    2 +-
cf07b3
 1 files changed, 1 insertions(+), 1 deletions(-)
cf07b3
cf07b3
diff --git a/heartbeat/VirtualDomain b/heartbeat/VirtualDomain
cf07b3
index b7ac912..04b4390 100755
cf07b3
--- a/heartbeat/VirtualDomain
cf07b3
+++ b/heartbeat/VirtualDomain
cf07b3
@@ -295,7 +295,7 @@ VirtualDomain_Start() {
cf07b3
 force_stop()
cf07b3
 {
cf07b3
 	local out ex
cf07b3
-	local status
cf07b3
+	local status=0
cf07b3
 
cf07b3
 	ocf_log info "Issuing forced shutdown (destroy) request for domain ${DOMAIN_NAME}."
cf07b3
 	out=$(virsh $VIRSH_OPTIONS destroy ${DOMAIN_NAME} 2>&1)
cf07b3
-- 
cf07b3
1.7.1
cf07b3