From 638b710acb6a5e44898581115843fbb96c36d820 Mon Sep 17 00:00:00 2001 From: Jim Crossley Date: Sun, 2 Feb 2014 10:56:33 -0500 Subject: [PATCH] Only exit if there are errors Otherwise, parent processes can't continue. --- src/leiningen/check.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/leiningen/check.clj b/src/leiningen/check.clj index 39814949c..cd0f46d95 100644 --- a/src/leiningen/check.clj +++ b/src/leiningen/check.clj @@ -23,7 +23,8 @@ (catch ExceptionInInitializerError e# (swap! failures# inc) (.printStackTrace e#))))) - (System/exit @failures#))] + (if-not (zero? @failures#) + (System/exit @failures#)))] (try (binding [eval/*pump-in* false] (eval/eval-in-project project action))