summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-08-26 00:29:21 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-26 00:09:21 -0700
commitfb7cfce92572cd827de99fc076b5bb883972a057 (patch)
treed3f723efdf34b201ec0b6f2c2ff5539ba2326742 /xlators/mgmt/glusterd/src/glusterd.c
parent7c7219fd881dd6485fbad2e80121a3c2dffd6d9b (diff)
rpcsvc: handle the return value of rpcsvc_create_listeners properly.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 513 (Introduce 0 copy rdma) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 28d500bdd75..2665e4ad236 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -291,6 +291,7 @@ init (xlator_t *this)
if (ret < 1) {
gf_log (this->name, GF_LOG_ERROR,
"creation of listener failed");
+ ret = -1;
goto out;
}