mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Fix -p option to be optional. Someone pass the dunce cap over this way.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user