Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
pacemaker.3577
pacemaker-crmd-valid-fd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crmd-valid-fd.patch of Package pacemaker.3577
commit 2bf9946f2d4f269ba1d17265f49828142a3f5580 Author: Klaus Wenninger <klaus.wenninger@aon.at> Date: Thu Jan 14 17:15:45 2016 +0100 Fix: crmd: 0 is a valid fd makes coverity happy diff --git a/crmd/te_utils.c b/crmd/te_utils.c index 5824272..3a9f491 100644 --- a/crmd/te_utils.c +++ b/crmd/te_utils.c @@ -290,7 +290,7 @@ tengine_stonith_notify(stonith_t * st, stonith_event_t * st_event) /* In case fenced is already trying to shoot it */ confirm = open("/var/run/cluster/fenced_override", O_NONBLOCK|O_WRONLY); - if (confirm > 0) { + if (confirm >= 0) { int ignore = 0; int len = strlen(target_copy);
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