Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker.13547
pacemaker-tools-use-g_main_loop_is_running-prop...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-tools-use-g_main_loop_is_running-properly.patch of Package pacemaker.13547
commit c7d90822ebd07bd22009f1b714ff92443d9c5d83 Author: Ken Gaillot <kgaillot@redhat.com> Date: Fri Nov 10 18:09:25 2017 -0600 Fix: tools: use g_main_loop_is_running() properly diff --git a/tools/crm_resource.c b/tools/crm_resource.c index 379897f51..59cae2cde 100644 --- a/tools/crm_resource.c +++ b/tools/crm_resource.c @@ -81,7 +81,9 @@ resource_ipc_callback(const char *buffer, ssize_t length, gpointer userdata) crm_log_xml_trace(msg, "[inbound]"); crmd_replies_needed--; - if (crmd_replies_needed == 0 && g_main_loop_is_running(mainloop)) { + if ((crmd_replies_needed == 0) && mainloop + && g_main_loop_is_running(mainloop)) { + fprintf(stderr, " OK\n"); crm_debug("Got all the replies we expected"); return crm_exit(pcmk_ok);
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