From d849ba003bd52a5481dd118262442eb24421aff0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 6 Apr 2008 16:53:26 +0000 Subject: [PATCH] #846: also handle scrape-then-exit --- cli/transmissioncli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/transmissioncli.c b/cli/transmissioncli.c index 4dc68511d..a5736de35 100644 --- a/cli/transmissioncli.c +++ b/cli/transmissioncli.c @@ -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 */