Blame SOURCES/bz1707969-2-ocf_is_true-add-True-to-regexp.patch

914f09
From 73b35b74b743403aeebab43205475be6f2938cd5 Mon Sep 17 00:00:00 2001
914f09
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
914f09
Date: Wed, 12 Jun 2019 10:11:07 +0200
914f09
Subject: [PATCH] ocf_is_true: add True to regexp
914f09
914f09
---
914f09
 heartbeat/ocf-shellfuncs.in | 2 +-
914f09
 1 file changed, 1 insertion(+), 1 deletion(-)
914f09
914f09
diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
914f09
index b17297e1a..7a97558a5 100644
914f09
--- a/heartbeat/ocf-shellfuncs.in
914f09
+++ b/heartbeat/ocf-shellfuncs.in
914f09
@@ -101,7 +101,7 @@ ocf_is_decimal() {
914f09
 
914f09
 ocf_is_true() {
914f09
 	case "$1" in
914f09
-	yes|true|1|YES|TRUE|ja|on|ON) true ;;
914f09
+	yes|true|1|YES|TRUE|True|ja|on|ON) true ;;
914f09
 	*)	false ;;
914f09
 	esac
914f09
 }