summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-14 17:11:25 -0500
committerDave Smith <dizzyd@dizzyd.com>2009-12-14 17:11:25 -0500
commitbe754bb6efc02a2755314b0e8cec7fbbc314fa10 (patch)
tree9d39c0aaf1825b57ed28a414cf7d0384f8d012b7 /src/rebar_core.erl
parent537eaa3bba6b9a71884830136fb2517161c01540 (diff)
Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)
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 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.