[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Thu Jul 15 17:07:19 MDT 2010


The branch, master has been updated
       via  8ce15b3... Fix bug - 7551 smbclient does not return proper exit code.
      from  0e212ac... s4:testprogs Operate the blackbox kinit and net tests using the :local config

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 8ce15b3a71a29fe27b7146c1b802aa11e7c96433
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jul 15 16:06:11 2010 -0700

    Fix bug - 7551 smbclient does not return proper exit code.
    
    Catch error in cli_push.
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/client/client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/client/client.c b/source3/client/client.c
index 416a4bb..326c23e 100644
--- 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))) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list