projects
/
dyn-nsupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b07d94
)
fix 'good' reply more
author
Ralf Jung
<post@ralfj.de>
Wed, 22 Nov 2017 20:44:38 +0000
(21:44 +0100)
committer
Ralf Jung
<post@ralfj.de>
Wed, 22 Nov 2017 20:44:38 +0000
(21:44 +0100)
server-scripts/update
patch
|
blob
|
history
diff --git
a/server-scripts/update
b/server-scripts/update
index 2a7171556757cc6c6c67166f7910e27b1e1193e3..183f2dbd0c1c8a0af5e830216c6ee7199139323f 100755
(executable)
--- a/
server-scripts/update
+++ b/
server-scripts/update
@@
-57,9
+57,9
@@
if p.returncode or stderr or stdout:
if stdout: print stdout
if stderr: print stderr
else:
-
print
"good"
+
out =
"good"
if ip is not None:
-
print
" "+ip
+
out +=
" "+ip
if ipv6 is not None:
-
print
" "+ipv6
- print
+
out +=
" "+ipv6
+ print
out