summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_core.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 868a3e7..5b9c8c7 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -196,6 +196,8 @@ apply_command([{Type, Dir, File} | Rest], Command) ->
case catch(run_modules(Modules, Command, Config, File)) of
ok ->
apply_command(Rest, Command);
+ {error, failed} ->
+ error;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
error