Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
pacemaker.15719
bsc#1140519-0001-Fix-tools-crm_resource-C-shoul...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1140519-0001-Fix-tools-crm_resource-C-should-wait-for-all-replies.patch of Package pacemaker.15719
From 7371ff4f562bacb90e8cf40779864d4f351fb30a Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Tue, 28 Aug 2018 15:17:17 -0500 Subject: [PATCH] Fix: tools: crm_resource -C should wait for all replies This was initially fixed in e3b825a7 but the fix was lost in a merge regression in 2.0.0 --- tools/crm_resource.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/crm_resource.c b/tools/crm_resource.c index 7ca2ad637..45d6b4775 100644 --- a/tools/crm_resource.c +++ b/tools/crm_resource.c @@ -1089,6 +1089,9 @@ main(int argc, char **argv) } else if (rsc_cmd == 'C') { rc = cli_cleanup_all(crmd_channel, host_uname, operation, interval_spec, &data_set); + if (rc == pcmk_ok) { + start_mainloop(); + } } else if ((rsc_cmd == 'R') && rsc) { if (do_force == FALSE) { -- 2.16.4
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