[server] don't print PID file existence warning in daemon mode (suggested by Ilya Tumaykin)
This commit is contained in:
parent
ea9d6a0fdc
commit
dcb7871d02
@ -707,6 +707,7 @@ get_running_pid(const fko_srv_options_t *opts)
|
||||
|
||||
if(op_fd == -1)
|
||||
{
|
||||
if((opts->foreground != 0) && (opts->verbose != 0))
|
||||
perror("Error trying to open PID file: ");
|
||||
return(rpid);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user