mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Fix -p option to be optional. Someone pass the dunce cap over this way.
This commit is contained in:
parent
37373317d9
commit
7f5777a9f7
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ main( int argc, char ** argv )
|
|||
errsyslog( 1 );
|
||||
}
|
||||
|
||||
if( 0 > savepid( pidfile ) )
|
||||
if( NULL != pidfile && 0 > savepid( pidfile ) )
|
||||
exit( 1 );
|
||||
atexit( exitcleanup );
|
||||
sockfd = trylocksock( sockpath );
|
||||
|
|
Loading…
Reference in a new issue