summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 7828c66..a53e4f9 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -67,7 +67,7 @@ process_commands([], _ParentConfig) ->
case erlang:get(operations) of
0 ->
%% none of the commands had an effect
- ?FAIL;
+ ?ABORT;
_ ->
ok
end;
@@ -362,7 +362,7 @@ execute(Command, Modules, Config, ModuleFile, Env) ->
apply_hooks(post_hooks, Config, Command, Env),
ok;
{error, failed} ->
- ?FAIL;
+ ?ABORT;
{Module, {error, _} = Other} ->
?ABORT("~p failed while processing ~s in module ~s: ~s\n",
[Command, Dir, Module,