diff options
author | Tristan Sloughter <[email protected]> | 2013-04-04 18:16:40 -0700 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-04-04 18:16:40 -0700 |
commit | 95ffc08991826ef33dc80aa4ab4c8755f4f31dd4 (patch) | |
tree | ed054b798d244c6d8fb9c581d7d79c953a2d5f70 /src/rcl_prv_config.erl | |
parent | 9f76afc1c305dad8f321ba4cf6200e03b30c6ce1 (diff) | |
parent | a5f9b6c2bea4dc4bc7b60198860f5d8fc978ec8a (diff) | |
download | relx-95ffc08991826ef33dc80aa4ab4c8755f4f31dd4.tar.gz relx-95ffc08991826ef33dc80aa4ab4c8755f4f31dd4.tar.bz2 relx-95ffc08991826ef33dc80aa4ab4c8755f4f31dd4.zip |
Merge pull request #36 from erlware/next
Next
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r-- | src/rcl_prv_config.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl index 1027edf..4d1c119 100644 --- a/src/rcl_prv_config.erl +++ b/src/rcl_prv_config.erl @@ -46,6 +46,8 @@ init(State) -> -spec do(rcl_state:t()) ->{ok, rcl_state:t()} | relcool:error(). do(State) -> case rcl_state:config_file(State) of + [] -> + search_for_dominating_config(State); undefined -> search_for_dominating_config(State); ConfigFile when erlang:is_list(ConfigFile) -> |