1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

Fix -p option to be optional. Someone pass the dunce cap over this way.

This commit is contained in:
Josh Elsasser 2007-08-16 00:02:43 +00:00
parent 37373317d9
commit 7f5777a9f7

View file

@ -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 );