diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-08-26 00:29:21 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-26 00:09:21 -0700 |
commit | fb7cfce92572cd827de99fc076b5bb883972a057 (patch) | |
tree | d3f723efdf34b201ec0b6f2c2ff5539ba2326742 /xlators/mgmt/glusterd/src/glusterd.c | |
parent | 7c7219fd881dd6485fbad2e80121a3c2dffd6d9b (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.c | 1 |
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; } |