This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master
in repository gssproxy.
commit 486ff4d817b2dbec196ac9c2135adfa5ec0209fc
Author: Alexander Scheel <ascheel(a)redhat.com>
Date: Mon Jun 26 14:21:49 2017 -0400
Fix error reporting in init_proc_nfsd
Signed-off-by: Alexander Scheel <ascheel(a)redhat.com>
[rharwood(a)redhat.com: rewrote commit message, whitespace]
Reviewed-by: Robbie Harwood <rharwood(a)redhat.com>
---
proxy/src/gp_init.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/proxy/src/gp_init.c b/proxy/src/gp_init.c
index e69934d..db56f1c 100644
--- a/proxy/src/gp_init.c
+++ b/proxy/src/gp_init.c
@@ -171,13 +171,11 @@ void init_proc_nfsd(struct gp_config *cfg)
ret = errno;
GPDEBUG("Failed to write to %s: %d (%s)\n",
LINUX_PROC_USE_GSS_PROXY_FILE, ret, gp_strerror(ret));
- }
-
- close(fd);
- if (ret != 0) {
+ close(fd);
goto fail;
}
+ close(fd);
return;
fail:
GPDEBUG("Problem with kernel communication! NFS server will not work\n");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.