From: Andrew Bartlett Date: Tue, 11 Apr 2017 02:23:49 +0000 (+1200) Subject: samba_dnsupdate: fix "samba-tool" fallback error handling X-Git-Tag: ldb-1.1.31~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d313f7da5e576f6947672368971484e20c4134c;p=thirdparty%2Fsamba.git samba_dnsupdate: fix "samba-tool" fallback error handling Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- 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)