summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-26 15:44:40 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-26 16:27:06 +0100
commit21f443eb8286805dde6bbb1b8f37379f6e0aa203 (patch)
tree512d27d2b9f67030b0bdecd7ebf574bfb34fc8cb /source4/setup
parent02ba9095e234b391690f0756128203dd86b7b40d (diff)
downloadsamba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.tar.gz
samba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.tar.bz2
samba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.zip
provision: Leave result reporting up to caller.
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index a2327b339e..4316ad00c6 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -243,7 +243,7 @@ elif opts.use_xattrs == "auto" and not lp.get("posix:eadb"):
session = system_session()
try:
- provision(logger,
+ result = provision(logger,
session, creds, smbconf=smbconf, targetdir=opts.targetdir,
samdb_fill=samdb_fill, realm=opts.realm, domain=opts.domain,
domainguid=opts.domain_guid, domainsid=opts.domain_sid,
@@ -263,3 +263,5 @@ try:
except ProvisioningError, e:
print str(e)
sys.exit(1)
+
+result.report_logger(logger)