minor typo and format fixes
This commit is contained in:
parent
1341601a66
commit
c23d2d644f
@ -209,7 +209,7 @@ main(int argc, char **argv)
|
||||
*/
|
||||
if(get_running_pid(&opts) != getpid())
|
||||
{
|
||||
/* If foreground mode is not set, the fork off and become a daemon.
|
||||
/* If foreground mode is not set, then fork off and become a daemon.
|
||||
* Otherwise, attempt to get the pid file lock and go on.
|
||||
*/
|
||||
if(opts.foreground == 0)
|
||||
|
||||
@ -262,7 +262,9 @@ replay_file_cache_init(fko_srv_options_t *opts)
|
||||
/* the file does not exist yet, so it will be created when the first
|
||||
* successful SPA packet digest is written to disk
|
||||
*/
|
||||
digest_file_fd = open(opts->config[CONF_DIGEST_FILE], O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
|
||||
digest_file_fd = open(opts->config[CONF_DIGEST_FILE],
|
||||
O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
|
||||
|
||||
if (digest_file_fd == -1)
|
||||
{
|
||||
log_msg(LOG_WARNING, "Could not create digest cache: %s: %s",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user