1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s4-provision: fixed use of rndc command from python

rndc command is now a list
This commit is contained in:
Andrew Tridgell
2010-02-26 17:49:01 +11:00
parent 97d65774d4
commit 1e2ac9b896

View File

@ -1541,7 +1541,7 @@ def create_zone_file(lp, message, paths, targetdir, setup_path, dnsdomain,
# we need to freeze the zone while we update the contents
if targetdir is None:
rndc = lp.get("rndc command")
rndc = ' '.join(lp.get("rndc command"))
os.system(rndc + " freeze " + lp.get("realm"))
setup_file(setup_path("provision.zone"), paths.dns, {