File bsc#1033934-0001-Fix-sbd.sh-Correctly-handle-SBD_DELAY_START-for-mult.patch of Package sbd.10478

From afd2f3e5a28a89d59e88234f0a53e560358059be Mon Sep 17 00:00:00 2001
From: "Gao,Yan" <ygao@suse.com>
Date: Tue, 30 May 2017 16:03:51 +0200
Subject: [PATCH] Fix: sbd.sh: Correctly handle SBD_DELAY_START for multiple
 SBD devices

---
 src/sbd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbd.sh b/src/sbd.sh
index 5745fb2..74933aa 100644
--- a/src/sbd.sh
+++ b/src/sbd.sh
@@ -67,7 +67,7 @@ start() {
 			exit 1
 		fi
 		if ocf_is_true ${SBD_DELAY_START} ; then
-			sleep $($SBD_BIN -d "$SBD_DEVICE" dump | grep -m 1 msgwait | awk '{print $4}') 2>/dev/null
+			sleep $($SBD_BIN -d $SBD_DEVICE dump | grep -m 1 msgwait | awk '{print $4}') 2>/dev/null
 		fi
 	else
 		return 0
-- 
2.16.4

openSUSE Build Service is sponsored by