diff options
author | Bram <fnzon@lists.wizbit.be> | 2011-09-29 11:28:03 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-10-12 20:56:13 +0200 |
commit | cfe1008c4ebcd60174f984f02c52db6c68161364 (patch) | |
tree | 29f6e02b0202070c21412a1b2a725ffb09324500 | |
parent | bf7cf189a5c310b5c21b27e887ddd9282397c553 (diff) | |
download | samba-cfe1008c4ebcd60174f984f02c52db6c68161364.tar.gz samba-cfe1008c4ebcd60174f984f02c52db6c68161364.tar.xz samba-cfe1008c4ebcd60174f984f02c52db6c68161364.zip |
Bug 7551: Return error of cli_push when 'put - /some/file' is used
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104
(cherry picked from commit d883cc664cac81633a60e5b04f99f23a3577ae65)
(cherry picked from commit 04d31e65ee5e6552e806b342eb32af264661a7bc)
-rw-r--r-- | 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 b94893d2c2c..e5426c65e34 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; |