chiark / gitweb /
Makefile: Actually fail if nsdiff doesn't work.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Apr 2015 16:09:12 +0000 (17:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 1 Apr 2015 16:09:12 +0000 (17:09 +0100)
Makefile

index 6c6a9df..89e15a3 100644 (file)
--- 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.