From 3d313f7da5e576f6947672368971484e20c4134c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 11 Apr 2017 14:23:49 +1200 Subject: [PATCH] samba_dnsupdate: fix "samba-tool" fallback error handling Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- source4/scripting/bin/samba_dnsupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate index eb6d4c2ad86..d9948a6f9b8 100755 --- a/source4/scripting/bin/samba_dnsupdate +++ b/source4/scripting/bin/samba_dnsupdate @@ -626,7 +626,7 @@ def call_samba_tool(d, op="add", zone=None): sys.exit(1) error_count = error_count + 1 if opts.verbose: - print("Failed 'samba-tool dns' based update: %s" % (str(d))) + print("Failed 'samba-tool dns' based update of %s" % (str(d))) except Exception, estr: if opts.fail_immediately: sys.exit(1) -- 2.34.1