aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeinz N. Gies <[email protected]>2016-02-16 12:06:53 -0500
committerHeinz N. Gies <[email protected]>2016-02-16 12:06:53 -0500
commit0a029824e2d767b71f5f75f15b25861c49df1889 (patch)
tree310e157df4a595046ca96a9b87fad094f674186b
parent3ceb5594b249fba3e3cd26f6e76fd168f953c5c2 (diff)
downloadrelx-0a029824e2d767b71f5f75f15b25861c49df1889.tar.gz
relx-0a029824e2d767b71f5f75f15b25861c49df1889.tar.bz2
relx-0a029824e2d767b71f5f75f15b25861c49df1889.zip
Fix case for applicaiton:get_env
-rw-r--r--src/rlx_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_util.erl b/src/rlx_util.erl
index 7920379..c4251d4 100644
--- a/src/rlx_util.erl
+++ b/src/rlx_util.erl
@@ -314,7 +314,7 @@ intensity() ->
end,
application:set_env(relx, color_intensity, R),
R;
- Mode ->
+ {ok, Mode} ->
Mode
end.