X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/fe20951621dab82ac4a38c0cb2ba95fa3ad11ed5..9ea63288e65a4da36f902d49d534db12cbf0c520:/server-scripts/update?ds=inline diff --git a/server-scripts/update b/server-scripts/update index 3b3ab53..3d6331e 100755 --- a/server-scripts/update +++ b/server-scripts/update @@ -48,9 +48,9 @@ p = subprocess.Popen(["/var/lib/named/dyn-nsupdate", domain, password, ip], stdo # check what it did if p.returncode or stderr or stdout: - # error :/ - print "There was an error while updating the DNS: Return code %d" % p.returncode - if stdout: print stdout - if stderr: print stderr + # error :/ + print "There was an error while updating the DNS: Return code %d" % p.returncode + if stdout: print stdout + if stderr: print stderr else: - print "good",ip + print "good",ip