aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_prv_config.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2013-04-04 09:49:09 -0700
committerJordan Wilberding <[email protected]>2013-04-04 09:49:09 -0700
commita5f9b6c2bea4dc4bc7b60198860f5d8fc978ec8a (patch)
tree32f11cec4aeb032900dfae55b93a5445cb93dc69 /src/rcl_prv_config.erl
parentb7d37501383072a7795298979b097a7066a48224 (diff)
parentaa660847217d25f477c7b396a8e752783beb26d3 (diff)
downloadrelx-a5f9b6c2bea4dc4bc7b60198860f5d8fc978ec8a.tar.gz
relx-a5f9b6c2bea4dc4bc7b60198860f5d8fc978ec8a.tar.bz2
relx-a5f9b6c2bea4dc4bc7b60198860f5d8fc978ec8a.zip
Merge pull request #34 from ericbmerritt/next
various bug fixes to symlinks.
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r--src/rcl_prv_config.erl2
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) ->