Use correct variable for domain when restoring a file.

Resolves 430724
This commit is contained in:
Rob Crittenden 2008-01-31 10:24:22 -05:00
parent 94a3a5c038
commit 00e3a81266

View File

@ -117,7 +117,7 @@ class BindInstance(service.Service):
self.stop()
if not domain is None:
sysrestore.restore_file(os.path.join ("/var/named/", self.domain + ".zone.db"))
sysrestore.restore_file(os.path.join ("/var/named/", domain + ".zone.db"))
sysrestore.restore_file('/etc/named.conf')
sysrestore.restore_file('/etc/resolve.conf')