projects
/
dyn-nsupdate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix 'good' reply
[dyn-nsupdate.git]
/
server-scripts
/
update
diff --git
a/server-scripts/update
b/server-scripts/update
index bd4ae8362eb6964e6816dec491b82a6ad5af7f76..2a7171556757cc6c6c67166f7910e27b1e1193e3 100755
(executable)
--- a/
server-scripts/update
+++ b/
server-scripts/update
@@
-1,4
+1,4
@@
-#!/usr/bin/
python
+#!/usr/bin/
env python2
# Copyright (c) 2014, Ralf Jung <post@ralfj.de>
# All rights reserved.
#
# Copyright (c) 2014, Ralf Jung <post@ralfj.de>
# All rights reserved.
#
@@
-57,9
+57,9
@@
if p.returncode or stderr or stdout:
if stdout: print stdout
if stderr: print stderr
else:
if stdout: print stdout
if stderr: print stderr
else:
- print "good"
,
+ print "good"
if ip is not None:
if ip is not None:
- print
ip,
+ print
" "+ip
if ipv6 is not None:
if ipv6 is not None:
- print
ipv6,
+ print
" "+ipv6
print
print