From 00e3a81266db9ab1f4b866f452b4316f7e437768 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 31 Jan 2008 10:24:22 -0500 Subject: [PATCH] Use correct variable for domain when restoring a file. Resolves 430724 --- ipa-server/ipaserver/bindinstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipa-server/ipaserver/bindinstance.py b/ipa-server/ipaserver/bindinstance.py index e15d93351..448a28af9 100644 --- a/ipa-server/ipaserver/bindinstance.py +++ b/ipa-server/ipaserver/bindinstance.py @@ -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')