diff options
author | 2018-05-25 17:50:22 +0200 | |
---|---|---|
committer | 2018-05-25 17:50:22 +0200 | |
commit | 28ed131e3cac9cbd0f806e9e0c9f02eb0f92a368 (patch) | |
tree | 2544fd1813c59b7e35f91e3402e35ebbbc7ca3b7 /mixer-binding | |
parent | e58ef6051020bbeb269960a308f1fa33f39097cb (diff) |
fixed search path for config
Diffstat (limited to 'mixer-binding')
-rw-r--r-- | mixer-binding/mixer-binding.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mixer-binding/mixer-binding.c b/mixer-binding/mixer-binding.c index 1d4be59..d742fad 100644 --- a/mixer-binding/mixer-binding.c +++ b/mixer-binding/mixer-binding.c @@ -115,9 +115,12 @@ PUBLIC int afbBindingVdyn(afb_dynapi *apiHandle) { AFB_ApiNotice (apiHandle, "Controller in afbBindingVdyn"); const char *dirList= getenv("CONTROL_CONFIG_PATH"); + + AFB_DEBUG("%s: env CONTROL_PLUGIN_PATH=%s\n", __func__, dirList); + if (!dirList) dirList=CONTROL_CONFIG_PATH; - const char *configPath = CtlConfigSearch(apiHandle, dirList, "4a-"); + const char *configPath = CtlConfigSearch(apiHandle, dirList, "4a"); if (!configPath) { AFB_ApiError(apiHandle, "CtlPreInit: No 4a-%s-* config found in %s ", GetBinderName(), dirList); goto OnErrorExit; |