mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Move init::SanityCheck to kernel::SanityCheck
This commit is contained in:
parent
fed085a1a4
commit
265d6393bf
10 changed files with 68 additions and 30 deletions
|
|
@ -94,7 +94,7 @@ public:
|
|||
if (!AppInitParameterInteraction(gArgs, /*use_syscall_sandbox=*/false)) return false;
|
||||
|
||||
m_context->kernel = std::make_unique<kernel::Context>();
|
||||
if (!AppInitSanityChecks()) return false;
|
||||
if (!AppInitSanityChecks(*m_context->kernel)) return false;
|
||||
|
||||
if (!AppInitLockDataDirectory()) return false;
|
||||
if (!AppInitInterfaces(*m_context)) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue