summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handshake.c b/xlators/mgmt/glusterd/src/glusterd-handshake.c
index 96d39f03007..bcffa5f9969 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handshake.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handshake.c
@@ -1416,7 +1416,7 @@ __server_get_volume_info (rpcsvc_request_t *req)
goto out;
}
- if (flags | (int32_t)GF_GET_VOLUME_UUID) {
+ if (flags & (int32_t)GF_GET_VOLUME_UUID) {
volume_id_str = gf_strdup (uuid_utoa (volinfo->volume_id));
if (!volume_id_str) {
op_errno = ENOMEM;