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))