diff options
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 1 | ||||
| -rw-r--r-- | xlators/protocol/server/src/server.c | 1 | 
2 files changed, 2 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;          } diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 05d69c44d2d..35072ef999e 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -487,6 +487,7 @@ init (xlator_t *this)          if (ret < 1) {                  gf_log (this->name, GF_LOG_DEBUG,                          "creation of listener failed"); +                ret = -1;                  goto out;          }  | 
