diff options
author | Csaba Henk <csaba@gluster.com> | 2011-08-15 03:17:18 +0300 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-12 06:20:14 -0700 |
commit | f3081a22740c70485c50d3837fa93da5fd843f26 (patch) | |
tree | f2a3557b0f42a44820f0c1fc5292cc86d2cbf3ca /xlators/mgmt/glusterd | |
parent | 417de9db670650edd96e82a6e43087bea49deeee (diff) |
glusterd: fix cleaning up of runner object
in lack of that, if geo-rep component is not installed, glusterd got a zombie child
Change-Id: Ic4a2a4ffc943de68dd02db76a32b1618821ddf56
BUG: 2744
Reviewed-on: http://review.gluster.com/317
Reviewed-by: Kaushik BV <kaushikbv@gluster.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 1fde10abcce..09e20a186e3 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"); |