Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
pacemaker.34782
bsc#1198409-0003-Fix-tools-set-command-for-crm_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1198409-0003-Fix-tools-set-command-for-crm_resource-q-query-xml-b.patch of Package pacemaker.34782
From fd029e0e5a33d641109e1e4a6f2b07cfe57fb3c5 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Thu, 14 Apr 2022 16:34:27 +0200 Subject: [PATCH 3/3] Fix: tools: set command for `crm_resource -q/--query-xml` before changing any options should have been done with c572d9f27 --- tools/crm_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/crm_resource.c b/tools/crm_resource.c index d2ea9ff24..315d2bdb9 100644 --- a/tools/crm_resource.c +++ b/tools/crm_resource.c @@ -800,8 +800,8 @@ flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **e SET_COMMAND(cmd_move); options.find_flags = pe_find_renamed|pe_find_anon; } else if (pcmk__str_any_of(option_name, "-q", "--query-xml", NULL)) { - options.find_flags = pe_find_renamed|pe_find_any; SET_COMMAND(cmd_query_xml); + options.find_flags = pe_find_renamed|pe_find_any; } else if (pcmk__str_any_of(option_name, "-w", "--query-xml-raw", NULL)) { SET_COMMAND(cmd_query_raw_xml); options.find_flags = pe_find_renamed|pe_find_any; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor