[Cluster-devel] [PATCH] dlm: Toplevel Makefile always returns success

Valentin Vidic Valentin.Vidic at CARNet.hr
Tue Oct 16 19:54:05 UTC 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 Cluster-devel mailing list