mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Fix build after pr 15266 merged
This commit is contained in:
parent
452acee4da
commit
e1b6436aad
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ static bool WalletAppInit(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for printtoconsole, allow -debug
|
// check for printtoconsole, allow -debug
|
||||||
g_logger->m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
|
LogInstance().m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
|
||||||
|
|
||||||
if (!fs::is_directory(GetDataDir(false))) {
|
if (!fs::is_directory(GetDataDir(false))) {
|
||||||
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());
|
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue