From c425355a6b9a80d2dc2638184113441f7ae8afce Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 4 May 2020 13:32:10 -0400 Subject: [PATCH] set data dir in in loadconfig too --- llarp/context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llarp/context.cpp b/llarp/context.cpp index 782c384e0..08caf0b66 100644 --- a/llarp/context.cpp +++ b/llarp/context.cpp @@ -215,7 +215,8 @@ namespace llarp { config = std::make_unique(); configfile = fname; - return Configure(isRelay, {}); + const fs::path filepath(fname); + return Configure(isRelay, filepath.parent_path()); } #ifdef LOKINET_HIVE