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

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