From 9bc71f510eb77163f249cdb09a4595cf72294118 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Mon, 15 Jun 2009 22:40:12 +0000 Subject: [PATCH] MGR: If LOCKFILE doesn't already exist, core client isn't running so skip further testing svn path=/trunk/boinc/; revision=18421 --- clientgui/BOINCClientManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/BOINCClientManager.cpp b/clientgui/BOINCClientManager.cpp index dddde9bf93..133e7ed957 100644 --- a/clientgui/BOINCClientManager.cpp +++ b/clientgui/BOINCClientManager.cpp @@ -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 {