Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- sheep/gateway.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sheep/gateway.c b/sheep/gateway.c index d287d0c..c2ec901 100644 --- a/sheep/gateway.c +++ b/sheep/gateway.c @@ -151,6 +151,7 @@ int forward_write_obj_req(struct request *req) if (rsp->result != SD_RES_SUCCESS) { eprintf("fail %"PRIu32"\n", ret); + ret = rsp->result; goto out; } } -- 1.7.2.5 |