[server] don't print PID file existence warning in daemon mode (suggested by Ilya Tumaykin)

This commit is contained in:
Michael Rash 2013-07-24 23:04:31 -04:00
parent ea9d6a0fdc
commit dcb7871d02

View File

@ -707,7 +707,8 @@ get_running_pid(const fko_srv_options_t *opts)
if(op_fd == -1)
{
perror("Error trying to open PID file: ");
if((opts->foreground != 0) && (opts->verbose != 0))
perror("Error trying to open PID file: ");
return(rpid);
}