From e4b0983ccd4c116107d3964f13d70ab6e95e0782 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 Autobuild-User: Jeremy Allison Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104 (cherry picked from commit d883cc664cac81633a60e5b04f99f23a3577ae65) --- 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 b94893d..e5426c6 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1913,7 +1913,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.7.3.1