mirror of https://github.com/oxen-io/lokinet
when we get an explicit config path respect it and the base dir
This commit is contained in:
parent
b572e7a7cd
commit
14b134c42d
|
@ -222,8 +222,7 @@ main(int argc, char* argv[])
|
|||
|
||||
if (genconfigOnly)
|
||||
{
|
||||
llarp::ensureConfig(
|
||||
llarp::GetDefaultDataDir(), llarp::GetDefaultConfigPath(), overwrite, opts.isRelay);
|
||||
llarp::ensureConfig(basedir, fname, overwrite, opts.isRelay);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue