diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2009-12-07 10:08:20 -0700 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2009-12-07 10:08:20 -0700 |
commit | b5eded43d8e284a7f09a791e9de1e31045455ce2 (patch) | |
tree | 79804eb6e8287585f3acb4f2a0e5f3673fa0f541 | |
parent | 726f8e6946f8ee36aca80b71dca10a5506445c35 (diff) | |
parent | af5096b6f071118ea680f3b03d2ab90a95e1a334 (diff) |
Merging
-rw-r--r-- | src/rebar.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rebar.erl b/src/rebar.erl index fe1821b..0e92731 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -27,4 +27,9 @@ -export([main/1]). main(Args) -> - rebar_core:run(Args). + case catch(rebar_core:run(Args)) of + ok -> + ok; + _ -> + halt(1) + end. |