Commit a02aa8d4 authored by Dominik Charousset's avatar Dominik Charousset

Filter empty config file paths

parent 9c4b539e
......@@ -356,6 +356,8 @@ error actor_system_config::parse(string_list args) {
} else {
// Try config_file_path and if that fails try the alternative paths.
auto try_open = [this, &conf](const auto& what) {
if (what.empty())
return false;
conf.open(what);
if (conf.is_open()) {
set("global.config-file", what);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment