summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c5a3dc6..e55d838 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
ok ->
apply_commands(Rest, Modules, Config, ModuleFile);
{error, failed} ->
- error;
+ ?FAIL;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
- error
+ ?FAIL
end
end.