when we get an explicit config path respect it and the base dir

This commit is contained in:
Jeff Becker 2020-05-26 10:06:38 -04:00
parent b572e7a7cd
commit 14b134c42d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 2 deletions

View File

@ -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
{