X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/fe20951621dab82ac4a38c0cb2ba95fa3ad11ed5..7a442b55cec677f59d836f20d242176f2a9533e4:/server-scripts/update 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