git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e212ac
)
Fix bug - 7551 smbclient does not return proper exit code.
author
Jeremy Allison
<jra@samba.org>
Thu, 15 Jul 2010 23:06:11 +0000
(16:06 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 15 Jul 2010 23:06:11 +0000
(16:06 -0700)
Catch error in cli_push.
Jeremy.
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 416a4bb6cffe489cc6cbbd9a26ea23122e30f403..326c23e657c3f02c9e22e65c6758434d97b275b0 100644
(file)
--- a/
source3/client/client.c
+++ b/
source3/client/client.c
@@
-1717,6
+1717,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))) {