diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-01-07 18:09:09 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2014-01-07 18:11:15 +0530 |
commit | de02aa72908869f0a0f0fdef548f4fa82c20fa76 (patch) | |
tree | 3ded34a5882f7039c63bc101ec02833b28d4b233 /cli/src | |
parent | 4afa88d6cc39be11f122489900af07b57a50fcc4 (diff) |
cli: fix displaying of different delete message
Change-Id: Ife2395a92997168bb147a7db4bba346d3adc916b
BUG: 1048126
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'cli/src')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 6ee039fbc..648ab6d65 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -7853,7 +7853,7 @@ cli_snapshot_remove_reply (gf_cli_rsp *rsp, dict_t *dict, call_frame_t *frame) GF_ASSERT (frame); if (rsp->op_ret) { - cli_err("snapshot remove: failed: %s", + cli_err("snapshot delete: failed: %s", rsp->op_errstr ? rsp->op_errstr : "Please check log file for details"); ret = rsp->op_ret; |