mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 01:59:53 +03:00
Found the bad remove for lock files.
This commit is contained in:
parent
eddf593e22
commit
a207260e38
@ -799,7 +799,6 @@ void *UnixNewSingleInstance(char *instance_name)
|
||||
if (fcntl(fd, F_SETLK, &lock) == -1)
|
||||
{
|
||||
close(fd);
|
||||
(void)remove(name);
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user