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

pull/1272/head
Jeff Becker 4 years ago
parent b572e7a7cd
commit 14b134c42d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -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…
Cancel
Save