aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_prv_config.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-18 15:51:07 -0700
committerEric <[email protected]>2012-09-18 15:51:53 -0700
commit388b5f05a634225dcc746293850948a02951330a (patch)
treeb8973879485f1b185f214d0814b5b69341d0366b /src/rcl_prv_config.erl
parent0a830ae52f7720b8215d616e0b22f3e961571ca2 (diff)
downloadrelx-388b5f05a634225dcc746293850948a02951330a.tar.gz
relx-388b5f05a634225dcc746293850948a02951330a.tar.bz2
relx-388b5f05a634225dcc746293850948a02951330a.zip
minor formatting and cleanup
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r--src/rcl_prv_config.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl
index 5d97ce5..e75bf85 100644
--- a/src/rcl_prv_config.erl
+++ b/src/rcl_prv_config.erl
@@ -85,7 +85,7 @@ load_terms({add_providers, Providers0}, {ok, State0}) ->
load_terms({release, {RelName, Vsn}, Applications}, {ok, State0}) ->
Release0 = rcl_release:new(RelName, Vsn),
case rcl_release:goals(Release0, Applications) of
- {_, E={error, _}} ->
+ E={error, _} ->
E;
{ok, Release1} ->
{ok, rcl_state:add_release(State0, Release1)}
@@ -94,7 +94,7 @@ load_terms({release, {RelName, Vsn}, {erts, ErtsVsn},
Applications}, {ok, State}) ->
Release0 = rcl_release:erts(rcl_release:new(RelName, Vsn), ErtsVsn),
case rcl_release:goals(Release0, Applications) of
- {_, E={error, _}} ->
+ E={error, _} ->
E;
{ok, Release1} ->
{ok, rcl_state:add_release(State, Release1)}