git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e92b8
)
Bug 7551: Return error of cli_push when 'put - /some/file' is used
author
Bram
<fnzon@lists.wizbit.be>
Thu, 29 Sep 2011 09:28:03 +0000
(11:28 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 24 Oct 2011 17:17:04 +0000
(19:17 +0200)
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
20ee0810ff4da3a16a8b7947d4aa0138a8d76577
)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 0e8b9c11a82d1236ecb27c5fad3eeb0b2171cb3b..e35eb9b4c0b00025014aa11d53b6be2155db0cec 100644
(file)
--- a/
source3/client/client.c
+++ b/
source3/client/client.c
@@
-1701,7
+1701,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;