Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libdlm
0002-dlm_controld-fix-missing-braces.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-dlm_controld-fix-missing-braces.patch of Package libdlm
From 4b5225db34bfb7452b5e7bb388846511ba0bf42f Mon Sep 17 00:00:00 2001 From: Valentin Vidic <Valentin.Vidic@CARNet.hr> Date: Tue, 26 Apr 2016 15:06:43 -0500 Subject: [PATCH] dlm_controld: fix missing braces Fix missing braces in commit a51b2bbe4132 "If an error occurs unlink the lock file and exit with status 1" --- dlm_controld/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlm_controld/main.c b/dlm_controld/main.c index 4f1399f..13b3834 100644 --- a/dlm_controld/main.c +++ b/dlm_controld/main.c @@ -1028,9 +1028,10 @@ static int loop(void) for (;;) { rv = poll(pollfd, client_maxi + 1, poll_timeout); if (rv == -1 && errno == EINTR) { - if (daemon_quit && list_empty(&lockspaces)) + if (daemon_quit && list_empty(&lockspaces)) { rv = 0; goto out; + } if (daemon_quit) { log_error("shutdown ignored, active lockspaces"); daemon_quit = 0; -- 2.6.6
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