summaryrefslogtreecommitdiff
path: root/src/rebar.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-12 07:43:12 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-12 07:43:12 -0700
commit5618198eeb924b225e39f91d793483d305a90cda (patch)
tree070d54be0bee84b9c11b9a6ab2abd788115935c1 /src/rebar.erl
parent3990f0a0766e5e508e319e73139df93cc4c3bde4 (diff)
parent9e618f79c5ff5a55418adbe3909b9490d7ccde91 (diff)
Merging mainline
Diffstat (limited to 'src/rebar.erl')
-rw-r--r--src/rebar.erl7
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.