From: Mark Wooding Date: Wed, 1 Apr 2015 16:09:12 +0000 (+0100) Subject: Makefile: Actually fail if nsdiff doesn't work. X-Git-Url: https://git.distorted.org.uk/~mdw/zones/commitdiff_plain/23ca64ab3e7751e85439a4090e189301ef8e88d5 Makefile: Actually fail if nsdiff doesn't work. --- diff --git a/Makefile b/Makefile index 6c6a9df..89e15a3 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ run-nsdiff = nsdiff -v "" $2 \ $(ALL_ZONEDIFFS) : %.zonediff : %.zone $(call v_tag,NSDIFF)$(call run-nsdiff,$*,-q); \ rc=$$?; case $$rc in 1) $(call run-nsdiff,$*); rc=$$? ;; esac; \ - case $$rc in 0 | 1) : ;; *) exit $$? ;; esac + case $$rc in 0 | 1) : ;; *) exit $$rc ;; esac diff: $(ALL_ZONEDIFFS) ## Finally we have to install the zone files.