Found the bad remove for lock files.

This commit is contained in:
Daiyuu Nobori committed 2020-11-30 18:15:37 +09:00
1 parent eddf593e22
commit a207260e38
1 file changed
-1
-1
View File
@@ -799,7 +799,6 @@ void *UnixNewSingleInstance(char *instance_name)
if (fcntl(fd, F_SETLK, &lock) == -1)
{
close(fd);
(void)remove(name);
return NULL;
}
else