solettaproject / soletta-dev-app

Soletta Development Application
Apache License 2.0
7 stars 13 forks source link

run should not export conf var when there is no configuration file #103

Closed brunobottazzini closed 8 years ago

brunobottazzini commented 8 years ago

SOL_FLOW_MODULE_RESOLVER_CONFFILE should be exported empty otherwise, Soletta will try to load empty conf files and produce the following unwanted warnings:

WRN: ./src/shared/sol-util-file.c:181 sol_util_load_file_fd_raw() r (-1) < 0 WRN: ./src/shared/sol-util-file.c:209 sol_util_load_file_fd_buffer() r (-1) < 0 WRN: ./src/shared/sol-util-file.c:181 sol_util_load_file_fd_raw() r (-1) < 0 WRN: ./src/shared/sol-util-file.c:209 sol_util_load_file_fd_buffer() r (-1) < 0 WRN: ./src/shared/sol-util-file.c:181 sol_util_load_file_fd_raw() r (-1) < 0 WRN: ./src/shared/sol-util-file.c:209 sol_util_load_file_fd_buffer() r (-1) < 0

Signed-off-by: Bruno Bottazzini bruno.bottazzini@intel.com