summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-03-12 18:40:06 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-03-12 18:40:06 -0400
commit639b1094cf4ae4c49c085baa28326cfee50f7765 (patch)
treeea1f03ad5b1f62fbaed058865d9ab19894c89938
parent9ae7a868857bd0c165fdf800bb8c45b2f25563ce (diff)
parentae7fe65a75a2d8c4276f9bc057d4917bc6fb88b1 (diff)
Merge pull request #266 from tsloughter/always_halt
halt with 0 on successful run
-rw-r--r--src/rebar3.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 1b840cb..cb02daa 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -45,7 +45,7 @@
main(Args) ->
case catch(run(Args)) of
{ok, _State} ->
- ok;
+ erlang:halt(0);
rebar_abort ->
erlang:halt(1);
{error, rebar_abort} ->