summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 1fde10abc..09e20a186 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -287,8 +287,7 @@ glusterd_check_gsync_present ()
ret = 0;
out:
- if (ret == 0)
- ret = runner_end (&runner);
+ ret = runner_end (&runner);
if (ret == -1)
gf_log ("", GF_LOG_INFO, "geo-replication module not"
" installed in the system");