diff options
author | Bram <fnzon@lists.wizbit.be> | 2011-09-29 11:28:03 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-09-29 23:47:02 +0200 |
commit | d883cc664cac81633a60e5b04f99f23a3577ae65 (patch) | |
tree | a937dd56b43a9451e71831b5834910738de2533f /source3/client | |
parent | 8daf9df5148bc3977c676e4dec3263486d35fde9 (diff) | |
download | samba-d883cc664cac81633a60e5b04f99f23a3577ae65.tar.gz samba-d883cc664cac81633a60e5b04f99f23a3577ae65.tar.bz2 samba-d883cc664cac81633a60e5b04f99f23a3577ae65.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
Diffstat (limited to 'source3/client')
-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 30f8b8baf4..beb3dca710 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; |