git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 7551: Return error of cli_push when 'put - /some/file' is used.
[samba.git]
/
source3
/
client
/
client.c
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))) {