From 9bb30d743d04905dec474bd71e31553e5189a570 Mon Sep 17 00:00:00 2001 From: Oyvind Albrigtsen Date: Tue, 11 Feb 2025 10:38:59 +0100 Subject: [PATCH] ocf-shellfuncs: add missing variable in crm_mon_no_validation() --- heartbeat/ocf-shellfuncs.in | 1 + 1 file changed, 1 insertion(+) diff --git a/heartbeat/ocf-shellfuncs.in b/heartbeat/ocf-shellfuncs.in index 6b35b89c7..e834ded95 100644 --- a/heartbeat/ocf-shellfuncs.in +++ b/heartbeat/ocf-shellfuncs.in @@ -741,6 +741,7 @@ crm_mon_no_validation() { # The subshell prevents parsing error with incompatible shells ocf_version_cmp "$OCF_RESKEY_crm_feature_set" "3.19.7" + res=$? if [ $res -eq 2 ] || [ $res -eq 1 ]; then "$SHELL" -c "CIB_file=<(${HA_SBIN_DIR}/cibadmin -Q) \ ${HA_SBIN_DIR}/crm_mon \$*" -- $*