1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00
security scan report issue
This commit is contained in:
Hui Zhang (huzhang2) 2018-07-16 16:27:41 +08:00
parent 0fe17c3e34
commit 01ed485cf3
4 changed files with 6 additions and 2 deletions

View file

@ -690,6 +690,7 @@ int SrsServer::acquire_pid_file()
if(errno == EACCES || errno == EAGAIN) {
ret = ERROR_SYSTEM_PID_ALREADY_RUNNING;
srs_error("srs is already running! ret=%#x", ret);
::close(fd);
return ret;
}