set data dir in in loadconfig too

pull/1256/head
Jeff Becker 4 years ago
parent f307c25d3e
commit c425355a6b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -215,7 +215,8 @@ namespace llarp
{
config = std::make_unique<Config>();
configfile = fname;
return Configure(isRelay, {});
const fs::path filepath(fname);
return Configure(isRelay, filepath.parent_path());
}
#ifdef LOKINET_HIVE

Loading…
Cancel
Save