27 lines
831 B
Diff
27 lines
831 B
Diff
|
|
From 76150e245d541a6c51d6817999c9dcb40b66dbdd Mon Sep 17 00:00:00 2001
|
||
|
|
From: pepadelic <162310096+pepadelic@users.noreply.github.com>
|
||
|
|
Date: Mon, 15 Apr 2024 15:01:13 +0200
|
||
|
|
Subject: [PATCH] db2: fix OCF_SUCESS name in db2_notify (#1933)
|
||
|
|
|
||
|
|
fix OCF_SUCESS to OCF_SUCCESS in db2_notify
|
||
|
|
---
|
||
|
|
heartbeat/db2 | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/heartbeat/db2 b/heartbeat/db2
|
||
|
|
index 95447ab6..1cd66f15 100755
|
||
|
|
--- a/heartbeat/db2
|
||
|
|
+++ b/heartbeat/db2
|
||
|
|
@@ -848,7 +848,7 @@ db2_notify() {
|
||
|
|
|
||
|
|
# only interested in pre-start
|
||
|
|
[ $OCF_RESKEY_CRM_meta_notify_type = pre \
|
||
|
|
- -a $OCF_RESKEY_CRM_meta_notify_operation = start ] || return $OCF_SUCESS
|
||
|
|
+ -a $OCF_RESKEY_CRM_meta_notify_operation = start ] || return $OCF_SUCCESS
|
||
|
|
|
||
|
|
# gets FIRST_ACTIVE_LOG
|
||
|
|
db2_get_cfg $dblist || return $?
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|