Skip to content

Commit

Permalink
Fix issue where process exists before output streams are flushed
Browse files Browse the repository at this point in the history
  • Loading branch information
micha committed Oct 27, 2015
1 parent 651e3bd commit 4a20c74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boot/core/src/boot/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
(defn -main [pod-id worker-pod shutdown-hooks [arg0 & args :as args*]]
(when (not= (boot.App/getVersion) (boot.App/getBootVersion))
(let [url "https://github.com/boot-clj/boot#install"]
(throw (Exception. (str "Please download latest Boot binary: " url)))))
(util/exit-error
(println (format "Please download latest Boot binary: %s" url)))))

(reset! pod/pod-id pod-id)
(reset! pod/worker-pod worker-pod)
Expand Down

0 comments on commit 4a20c74

Please sign in to comment.