24 lines
1011 B
Diff
24 lines
1011 B
Diff
From 17bf880b110c59a69e677b3961b0ebe4e9a483d9 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Safarov <s.safarov@anycast-lb.net>
|
|
Date: Sun, 12 Jan 2025 20:02:53 +0200
|
|
Subject: [PATCH] ocf-shellfuncs: fixed bash systax error added at
|
|
a25f08cf98d784894df9c52960eff5ccef059393
|
|
|
|
---
|
|
heartbeat/ocf-shellfuncs.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in
|
|
index 8e51fa3c8..6b35b89c7 100644
|
|
--- a/heartbeat/ocf-shellfuncs.in
|
|
+++ b/heartbeat/ocf-shellfuncs.in
|
|
@@ -742,7 +742,7 @@ crm_mon_no_validation()
|
|
# The subshell prevents parsing error with incompatible shells
|
|
ocf_version_cmp "$OCF_RESKEY_crm_feature_set" "3.19.7"
|
|
if [ $res -eq 2 ] || [ $res -eq 1 ]; then
|
|
- "$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q \
|
|
+ "$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q) \
|
|
${HA_SBIN_DIR}/crm_mon \$*" -- $*
|
|
else
|
|
"$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q | sed 's/validate-with=\"[^\"]*\"/validate-with=\"none\"/') \
|