1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-14 18:34:43 +00:00

#846: also handle scrape-then-exit

This commit is contained in:
Charles Kerr 2008-04-06 16:53:26 +00:00
parent f42995c872
commit d849ba003b

View file

@ -141,7 +141,7 @@ main( int argc, char ** argv )
/* don't bind the port if we're just running the CLI
* to get metainfo or to create a torrent */
if( showInfo || ( sourceFile != NULL ) )
if( showInfo || showScrape || ( sourceFile != NULL ) )
bindPort = -1;
/* Initialize libtransmission */