summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-11 02:23:18 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-11 03:32:40 -0700
commiteb99bee0246d5a43bbee7383b3809a360aa70018 (patch)
treed529934faa9300bec7750202925cebe5ae914434 /xlators/mgmt/glusterd/src/glusterd3_1-mops.c
parent2eb9861cbc0387b1054bfeb7864c255a42b475f5 (diff)
Add confirmation to volume delete command
Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd3_1-mops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd3_1-mops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
index b7ffd0dd682..fe9f4e528a0 100644
--- a/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
+++ b/xlators/mgmt/glusterd/src/glusterd3_1-mops.c
@@ -1493,7 +1493,7 @@ out:
}
if (op_errstr && (strcmp (op_errstr, "")))
GF_FREE (op_errstr);
- if (!ret)
+ if (ret)
gf_log ("", GF_LOG_WARNING, "Returning %d", ret);
return ret;