summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fb8afc6a4..6a4655fc6 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;
}