diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/src/cli-rpc-ops.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 92da4d9dcd4..9d699a0fdac 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -5958,6 +5958,9 @@ gf_cli_heal_volume_cbk (struct rpc_req *req, struct iovec *iov,                          cli_err ("%s on volume %s has been unsuccessful",                                   operation, volname);                  } + +                ret = rsp.op_ret; +                goto out;          } else {                  cli_out ("%s on volume %s has been successful%s", operation,                           volname, substr);  | 
