mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(daemon) Log pidfile errors in daemon
This commit is contained in:
parent
0cc65eb152
commit
bd4b0fe6ff
1 changed files with 3 additions and 0 deletions
|
@ -450,8 +450,11 @@ main( int argc, char ** argv )
|
|||
{
|
||||
fprintf( fp, "%d", (int)getpid() );
|
||||
fclose( fp );
|
||||
tr_inf( "Saved pidfile \"%s\"", pid_filename );
|
||||
pidfile_created = TRUE;
|
||||
}
|
||||
else
|
||||
tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, strerror( errno ) );
|
||||
}
|
||||
|
||||
if( tr_bencDictFindBool( &settings, TR_PREFS_KEY_RPC_AUTH_REQUIRED, &boolVal ) && boolVal )
|
||||
|
|
Loading…
Reference in a new issue