Code that gets nodes always returns OCF_SUCCESS: local c_status=$(${OCF_RESKEY_ctl} eval "mnesia:system_info(${infotype})." 2>/dev/null) rc=$?
(https://github.com/stackforge/fuel-library/blob/master/files/fuel-ha-utils/ocf/rabbitmq#L458-L459) $? is the result of local variable assignment operation
Code that gets nodes always returns OCF_SUCCESS: $(${OCF_ RESKEY_ ctl} eval "mnesia: system_ info(${ infotype} )." 2>/dev/null)
local c_status=
rc=$?
(https:/ /github. com/stackforge/ fuel-library/ blob/master/ files/fuel- ha-utils/ ocf/rabbitmq# L458-L459)
$? is the result of local variable assignment operation