|
|
|
@ -568,7 +568,7 @@ bool AppInit2(boost::thread_group& threadGroup)
@@ -568,7 +568,7 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|
|
|
|
if (file) fclose(file); |
|
|
|
|
static boost::interprocess::file_lock lock(pathLockFile.string().c_str()); |
|
|
|
|
if (!lock.try_lock()) |
|
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin is probably already running."), strDataDir)); |
|
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin Core is probably already running."), strDataDir)); |
|
|
|
|
|
|
|
|
|
if (GetBoolArg("-shrinkdebugfile", !fDebug)) |
|
|
|
|
ShrinkDebugFile(); |
|
|
|
|