Blame SOURCES/bz1128933-binary-check-exit-reason-support.patch

c608c9
From 6029211e47a83cec4a6c4e44a967e967cb0b92fb Mon Sep 17 00:00:00 2001
c608c9
From: David Vossel <dvossel@redhat.com>
c608c9
Date: Fri, 1 Aug 2014 13:13:05 -0400
c608c9
Subject: [PATCH] High: ocf-binaries: have 'check_binary' set exit reason
c608c9
c608c9
---
c608c9
 heartbeat/ocf-binaries.in | 2 +-
c608c9
 1 file changed, 1 insertion(+), 1 deletion(-)
c608c9
c608c9
diff --git a/heartbeat/ocf-binaries.in b/heartbeat/ocf-binaries.in
c608c9
index a78a348..cbf70db 100644
c608c9
--- a/heartbeat/ocf-binaries.in
c608c9
+++ b/heartbeat/ocf-binaries.in
c608c9
@@ -56,7 +56,7 @@ check_binary () {
c608c9
     if ! have_binary "$1"; then
c608c9
 	if [ "$OCF_NOT_RUNNING" = 7 ]; then
c608c9
 	    # Chances are we have a fully setup OCF environment
c608c9
-	    ocf_log err "Setup problem: couldn't find command: $1"
c608c9
+	    ocf_exit_reason "Setup problem: couldn't find command: $1"
c608c9
 	else 
c608c9
 	    echo "Setup problem: couldn't find command: $1"
c608c9
 	fi
c608c9
-- 
c608c9
1.8.4.2
c608c9