diff options
author | Tristan Sloughter <[email protected]> | 2013-02-07 04:57:36 -0800 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-02-07 04:57:36 -0800 |
commit | 6734e9ec4e0dd4c0678d10e8b8e48552ffb4e995 (patch) | |
tree | 93feb4e317d35d9d69443551b83175d21a0a0808 /src/rcl_prv_config.erl | |
parent | 60b074edbb09b43618febdf8eb50a330db2aa677 (diff) | |
parent | 35040be995d9b2f1b3b601e69a998156145e1b35 (diff) | |
download | relx-6734e9ec4e0dd4c0678d10e8b8e48552ffb4e995.tar.gz relx-6734e9ec4e0dd4c0678d10e8b8e48552ffb4e995.tar.bz2 relx-6734e9ec4e0dd4c0678d10e8b8e48552ffb4e995.zip |
Merge pull request #27 from ericbmerritt/next
lots of bug fixes
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r-- | src/rcl_prv_config.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl index 5d51300..60655b1 100644 --- a/src/rcl_prv_config.erl +++ b/src/rcl_prv_config.erl @@ -46,9 +46,9 @@ init(State) -> -spec do(rcl_state:t()) ->{ok, rcl_state:t()} | relcool:error(). do(State) -> case rcl_state:config_file(State) of - [] -> + undefined -> search_for_dominating_config(State); - ConfigFile -> + ConfigFile when erlang:is_list(ConfigFile) -> load_config(ConfigFile, State) end. |