From e2eef23978fa9bc09be7cda2990bd893a4984bd9 Mon Sep 17 00:00:00 2001 From: Bram Date: Thu, 29 Sep 2011 11:28:03 +0200 Subject: [PATCH] Bug 7551: Return error of cli_push when 'put - /some/file' is used --- source3/client/client.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/client/client.c b/source3/client/client.c index 30f8b8b..beb3dca 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1948,7 +1948,7 @@ static int do_put(const char *rname, const char *lname, bool reput) if (f == x_stdin) { cli_shutdown(cli); - exit(0); + exit(rc); } return rc; -- 1.5.4.3