mirror of
https://github.com/transmission/transmission
synced 2025-02-19 12:50:31 +00:00
#846: also handle scrape-then-exit
This commit is contained in:
parent
f42995c872
commit
d849ba003b
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ main( int argc, char ** argv )
|
||||||
|
|
||||||
/* don't bind the port if we're just running the CLI
|
/* don't bind the port if we're just running the CLI
|
||||||
* to get metainfo or to create a torrent */
|
* to get metainfo or to create a torrent */
|
||||||
if( showInfo || ( sourceFile != NULL ) )
|
if( showInfo || showScrape || ( sourceFile != NULL ) )
|
||||||
bindPort = -1;
|
bindPort = -1;
|
||||||
|
|
||||||
/* Initialize libtransmission */
|
/* Initialize libtransmission */
|
||||||
|
|
Loading…
Reference in a new issue