summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli3_1-cops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c
index 026231b1f9a..0898f2b943a 100644
--- a/cli/src/cli3_1-cops.c
+++ b/cli/src/cli3_1-cops.c
@@ -1062,7 +1062,7 @@ gf_cli3_1_getspec_cbk (struct rpc_req *req, struct iovec *iov,
cli_out ("%s", spec);
GF_FREE (spec);
- ret = rsp.op_ret;
+ ret = 0;
out:
cli_cmd_broadcast_response (ret);