summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
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/scripting/bin/upgradeprovision
parent02ba9095e234b391690f0756128203dd86b7b40d (diff)
downloadsamba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.tar.gz
samba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.tar.bz2
samba-21f443eb8286805dde6bbb1b8f37379f6e0aa203.zip
provision: Leave result reporting up to caller.
Diffstat (limited to 'source4/scripting/bin/upgradeprovision')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index aec0774a9d..2adb9a5b1a 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -1782,8 +1782,9 @@ if __name__ == '__main__':
message(SIMPLE, "Creating a reference provision")
provisiondir = tempfile.mkdtemp(dir=paths.private_dir,
prefix="referenceprovision")
- newprovision(names, creds, session, smbconf, provisiondir,
+ result = newprovision(names, creds, session, smbconf, provisiondir,
provision_logger)
+ result.report_logger(provision_logger)
# TODO
# 6) and 7)