mirror of https://github.com/BOINC/boinc.git
MGR: If LOCKFILE doesn't already exist, core client isn't running so skip further testing
svn path=/trunk/boinc/; revision=18421
This commit is contained in:
parent
76b9af4153
commit
9bc71f510e
|
@ -144,7 +144,7 @@ bool CBOINCClientManager::IsBOINCCoreRunning() {
|
|||
static FILE_LOCK file_lock;
|
||||
|
||||
sprintf(path, "%s/%s", (char *)wxGetApp().GetDataDirectory().char_str(), LOCK_FILE_NAME);
|
||||
if (boinc_file_exists(path) { // If there is no lock file, core is not running
|
||||
if (boinc_file_exists(path)) { // If there is no lock file, core is not running
|
||||
if (file_lock.lock(path)) {
|
||||
running = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue