From: Ralf Jung Date: Thu, 1 Jan 2015 13:34:42 +0000 (+0100) Subject: rndc gives textual and exit-code feedback, use it X-Git-Url: https://git.ralfj.de/zonemaker.git/commitdiff_plain/684fde7097441fab5cdb52265cfc8a43675af476 rndc gives textual and exit-code feedback, use it --- diff --git a/Makefile.sample b/Makefile.sample index c2d05c7..3af6904 100644 --- a/Makefile.sample +++ b/Makefile.sample @@ -1,4 +1,7 @@ +all: db.example.com + db.example.com: db.example.com.py @sudo -u user ~user/zonemaker/zone-maker $< > $@ || rm -f $@ @cat $@ - @rndc reload example.com + @echo + @rndc reload example.com || rm -f $@