Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cmd.js')
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
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)
}
}