summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index fb8afc6a4cf..6a4655fc6fb 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1561,8 +1561,6 @@ glusterfs_pidfile_setup (glusterfs_ctx_t *ctx)
ret = 0;
out:
- if (ret && pidfp)
- fclose (pidfp);
return ret;
}