prepare for using program_options; sanitize namespaces a bit
[dyn-nsupdate.git] / server-scripts / update
index 3d6331eacc9f52187839aa20e9b40d7a7f073d56..c45df300b148fb0c40c4428a7c051d59c73478c2 100755 (executable)
@@ -43,7 +43,7 @@ domain = form["domain"].value
 password = form["password"].value
 
 # run update program
 password = form["password"].value
 
 # run update program
-p = subprocess.Popen(["/var/lib/named/dyn-nsupdate", domain, password, ip], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+p = subprocess.Popen(["/var/lib/bind/dyn-nsupdate", domain, password, ip], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 (stdout, stderr) = p.communicate()
 
 # check what it did
 (stdout, stderr) = p.communicate()
 
 # check what it did