mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9577
This commit is contained in:
parent
418769507c
commit
135251222f
|
@ -318,7 +318,7 @@ int check_unique_instance() {
|
|||
}
|
||||
strcat( buf, RUN_MUTEX);
|
||||
|
||||
HANDLE h = CreateMutex(NULL, true, RUN_MUTEX);
|
||||
HANDLE h = CreateMutex(NULL, true, buf);
|
||||
if ((h==0) || (GetLastError() == ERROR_ALREADY_EXISTS)) {
|
||||
return ERR_ALREADY_RUNNING;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue