Skip to content

Commit

Permalink
Merge pull request #24 from mylesmegyesi/master
Browse files Browse the repository at this point in the history
Fixes exit code warning
  • Loading branch information
slagyr committed Aug 20, 2012
2 parents 5f8223d + 640d7eb commit 369c070
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/leiningen/spec.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns leiningen.spec
(:use
[clojure.java.io :only [file]])
[clojure.java.io :only [file]]
[leiningen.core.main :only [exit]])
(:import
[java.io BufferedInputStream]))

Expand Down Expand Up @@ -46,4 +47,4 @@
(let [speclj-args (cons "-c" args)
classpath (compute-classpath-string project)
jvm-args ["-cp" classpath "-Dspeclj.invocation=lein spec"]]
(java jvm-args "speclj.main" speclj-args (:root project))))
(exit (java jvm-args "speclj.main" speclj-args (:root project)))))

0 comments on commit 369c070

Please sign in to comment.