[Debian-ha-maintainers] Bug#911177: [PATCH] dlm: Toplevel Makefile always returns success

Valentin Vidic Valentin.Vidic at CARNet.hr
Tue Oct 16 20:54:05 BST 2018


Check exit codes from each of the subdirectories.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dd29bcea..ab069a1c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,2 @@
 all install clean: %:
-	for d in libdlm dlm_controld dlm_tool fence; do $(MAKE) -C $$d $@; done
+	set -e; for d in libdlm dlm_controld dlm_tool fence; do $(MAKE) -C $$d $@; done
-- 
2.19.0



More information about the Debian-ha-maintainers mailing list