summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba_dnsupdate
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/samba_dnsupdate')
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index d18d8bd1f19..1633561e173 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -562,12 +562,12 @@ def call_samba_tool(d, op="add", zone=None):
if opts.verbose:
print("Failed 'samba-tool dns' based update: %s : %s" % (str(d), estr))
except Exception, estr:
- raise
if opts.fail_immediately:
sys.exit(1)
error_count = error_count + 1
if opts.verbose:
print("Failed 'samba-tool dns' based update: %s : %s" % (str(d), estr))
+ raise
def rodc_dns_update(d, t, op):
'''a single DNS update via the RODC netlogon call'''