parent
7d41abd543
commit
d7be21524c
3
Makefile
3
Makefile
|
@ -1,3 +1,6 @@
|
||||||
|
build:
|
||||||
|
go build
|
||||||
|
|
||||||
farm001:
|
farm001:
|
||||||
./go-nsupdate \
|
./go-nsupdate \
|
||||||
--tsig-algorithm=hmac-sha512 \
|
--tsig-algorithm=hmac-sha512 \
|
||||||
|
|
4
main.go
4
main.go
|
@ -91,8 +91,8 @@ func main() {
|
||||||
log.Printf("wait...")
|
log.Printf("wait...")
|
||||||
|
|
||||||
if err := update.Done(); err != nil {
|
if err := update.Done(); err != nil {
|
||||||
log.Printf("update done: %v", err)
|
log.Printf("update failed: %v", err)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("update done")
|
log.Printf("update worked")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue