[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4690-g79d6808

Jeremy Allison jra at samba.org
Sat Dec 13 20:18:50 GMT 2008


The branch, v3-3-test has been updated
       via  79d68083411e9119933dbf5c850cb78f47e6f553 (commit)
      from  f7a811f2ae3572791035014b6e20410b07ea011e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 79d68083411e9119933dbf5c850cb78f47e6f553
Author: Herb Lewis <herb at samba.org>
Date:   Sat Dec 13 12:18:15 2008 -0800

    don't return 0 on error - bad for scripts

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

Summary of changes:
 source/utils/smbcacls.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/smbcacls.c b/source/utils/smbcacls.c
index 1bfc475..f7f1272 100644
--- a/source/utils/smbcacls.c
+++ b/source/utils/smbcacls.c
@@ -735,6 +735,8 @@ static int owner_set(struct cli_state *cli, enum chown_mode change_mode,
 
 	if (!cli_set_secdesc(cli, fnum, sd)) {
 		printf("ERROR: secdesc set failed: %s\n", cli_errstr(cli));
+		cli_close(cli, fnum);
+		return EXIT_FAILED;
 	}
 
 	cli_close(cli, fnum);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list