From 82c5c3ac0dc4c48614d615652f05ddefcbe04346 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 6 Mar 2015 19:16:30 +0100 Subject: [PATCH] Exit 1 when compiling or running pdns_hw fails --- pdns/Makefile-recursor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/Makefile-recursor b/pdns/Makefile-recursor index 81fe799efa..2b7b12a6fb 100644 --- a/pdns/Makefile-recursor +++ b/pdns/Makefile-recursor @@ -100,10 +100,11 @@ basic_checks: -$(CXX) $(CXXFLAGS) pdns_hw.cc -o pdns_hw @echo @if test -x ./pdns_hw ; \ - then if ./pdns_hw; then echo Everything ok, now run $(MAKE) using same settings \(if any\) you passed ./configure; else echo Could compile binary, but not run it, read README please ; fi; \ + then if ./pdns_hw; then echo Everything ok, now run $(MAKE) using same settings \(if any\) you passed ./configure; else echo Could compile binary, but not run it, read README please ; exit 1 ; fi; \ else \ echo; echo Could not compile simple binary, read README please; \ rm -f dep ; \ + exit 1 ; \ fi install: build-stamp -- 2.47.2