aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlx_prv_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_config.erl b/src/rlx_prv_config.erl
index c795334..ebfe0dd 100644
--- a/src/rlx_prv_config.erl
+++ b/src/rlx_prv_config.erl
@@ -265,5 +265,5 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) ->
merge_configs(CliTerms, [{Key, Value} | ConfigTerms])
end;
_ ->
- merge_configs(CliTerms, [{Key, Value} | ConfigTerms])
+ merge_configs(CliTerms, lists:keystore(Key, 1, ConfigTerms, {Key, Value}))
end.