Skip to content

Commit

Permalink
Propagate eval-in-project exit code in run task to lein's process.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 6, 2014
1 parent ae15ef0 commit b15c566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/run.clj
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
[project given & args]
(try (eval/eval-in-project project (run-form given args))
(catch clojure.lang.ExceptionInfo e
(main/abort))))
(main/exit (:exit-code (ex-data e) 1)))))

(defn ^{:help-arglists '([]) :no-project-needed true} run
"Run the project's -main function.
Expand Down

0 comments on commit b15c566

Please sign in to comment.