Fixed lock detection
This commit is contained in:
parent
1654ce5436
commit
c8e95f831d
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ void object_database::wipe(const fc::path& data_dir)
|
|||
|
||||
void object_database::open(const fc::path& data_dir)
|
||||
{ try {
|
||||
if( fc::exists( _data_dir / "object_database" / "lock" ) )
|
||||
if( fc::exists( data_dir / "object_database" / "lock" ) )
|
||||
{
|
||||
wlog("Ignoring locked object_database");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue