diff options
author | shishir gowda <shishirng@gluster.com> | 2010-10-11 02:23:18 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-11 03:32:40 -0700 |
commit | eb99bee0246d5a43bbee7383b3809a360aa70018 (patch) | |
tree | d529934faa9300bec7750202925cebe5ae914434 /xlators/mgmt/glusterd/src/glusterd3_1-mops.c | |
parent | 2eb9861cbc0387b1054bfeb7864c255a42b475f5 (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.c | 2 |
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 b7ffd0dd6..fe9f4e528 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; |