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

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