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:
2bdf504
)
Bug 7551: Return error of cli_push when 'put - /some/file' is used.
author
Jeremy Allison
<jra@samba.org>
Sat, 8 Oct 2011 18:18:34 +0000
(20:18 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 8 Oct 2011 18:18:34 +0000
(20:18 +0200)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index e1952b593d02274fef39f32956821a10dabf1a6b..0e8b9c11a82d1236ecb27c5fad3eeb0b2171cb3b 100644
(file)
--- a/
source3/client/client.c
+++ b/
source3/client/client.c
@@
-1668,6
+1668,7
@@
static int do_put(const char *rname, const char *lname, bool reput)
&state);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr, "cli_push returned %s\n", nt_errstr(status));
+ rc = 1;
}
if (!NT_STATUS_IS_OK(cli_close(targetcli, fnum))) {