mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 9ecc7af41f into merged_master (Bitcoin PR bitcoin/bitcoin#31674)
This commit is contained in:
commit
aaaedd07d4
6 changed files with 46 additions and 24 deletions
|
|
@ -228,10 +228,10 @@ static bool AppInit(NodeContext& node)
|
|||
return InitError(Untranslated("-daemon is not supported on this operating system"));
|
||||
#endif // HAVE_DECL_FORK
|
||||
}
|
||||
// Lock data directory after daemonization
|
||||
if (!AppInitLockDataDirectory())
|
||||
// Lock critical directories after daemonization
|
||||
if (!AppInitLockDirectories())
|
||||
{
|
||||
// If locking the data directory failed, exit immediately
|
||||
// If locking a directory failed, exit immediately
|
||||
return false;
|
||||
}
|
||||
fRet = AppInitInterfaces(node) && AppInitMain(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue