From 40c1095199ad76ce54cda002b95b4a36cba18f17 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sat, 23 May 2015 06:46:45 +0200 Subject: bug: if download is really fast, streaming doesn't start --- bin/cmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cmd.js b/bin/cmd.js index d695e95..231dacd 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -424,7 +424,7 @@ function runDownload (torrentId) { } function done () { - if (!serving) process.exit(0) + if (!playerName && !serving) process.exit(0) } } -- cgit v1.2.3