diff options
author | Csaba Henk <csaba@gluster.com> | 2010-09-17 01:27:04 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-17 04:40:14 -0700 |
commit | 853a2751c578fa11af131cacccb9e6248de4eca1 (patch) | |
tree | 5c1935b973f8e6e3c8e20093e50d15982913d929 /cli/src | |
parent | c92a4ad01f81de34e1955a19e42ab28a2865ea84 (diff) |
cli: fix incorrect return value for system:: getspec
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'cli/src')
-rw-r--r-- | cli/src/cli3_1-cops.c | 2 |
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); |