Blame SOURCES/bz1128933-Fix-shellfuncs-fix-syntax-error-caused-by-exit_reaso.patch

c608c9
From da05792dae917d67b529a27b0605166774bb21b9 Mon Sep 17 00:00:00 2001
c608c9
From: David Vossel <dvossel@redhat.com>
c608c9
Date: Sun, 21 Sep 2014 11:19:07 -0400
c608c9
Subject: [PATCH 2/6] Fix: shellfuncs: fix syntax error caused by exit_reason
c608c9
 support for dash shell.
c608c9
c608c9
---
c608c9
 heartbeat/ocf-shellfuncs.in | 2 +-
c608c9
 1 file changed, 1 insertion(+), 1 deletion(-)
c608c9
c608c9
diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
c608c9
index ff7c32d..9ba8e26 100644
c608c9
--- a/heartbeat/ocf-shellfuncs.in
c608c9
+++ b/heartbeat/ocf-shellfuncs.in
c608c9
@@ -356,7 +356,7 @@ ocf_log() {
c608c9
 ocf_exit_reason()
c608c9
 {
c608c9
 	local cookie="$OCF_EXIT_REASON_PREFIX"
c608c9
-	local fmt=$1
c608c9
+	local fmt="$1"
c608c9
 	local msg
c608c9
 
c608c9
 	if [ $# -lt 1 ]; then
c608c9
-- 
c608c9
1.8.4.2
c608c9