diff options
-rwxr-xr-x | source4/scripting/bin/samba_dnsupdate | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index fee1a08f4f..076bc328b7 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -142,8 +142,7 @@ class dnsobj(object): elif self.type == 'NS': self.dest = list[2].lower() else: - print "Received unexpected DNS reply of type %s" % self.type - raise + raise Exception("Received unexpected DNS reply of type %s" % self.type) def __str__(self): if d.type == "A": return "%s %s %s" % (self.type, self.name, self.ip) |