git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f42f55
)
samba_dnsupdate: fix "samba-tool" fallback error handling
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 11 Apr 2017 02:23:49 +0000
(14:23 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 10 Jun 2017 19:48:21 +0000
(21:48 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/scripting/bin/samba_dnsupdate
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/samba_dnsupdate
b/source4/scripting/bin/samba_dnsupdate
index eb6d4c2ad86563e30b6eb9919e4f8d844acd3087..d9948a6f9b80ca9ee7a25b09cb265456455f4c60 100755
(executable)
--- 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)