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
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-02-04 08:54:47 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-02-04 08:54:47 +0300
commit76a4d1defd525d5f69a63af873c2a9a85886c30a (patch)
tree2a616920da5730d7f1e53f6f2ea37754598c1851 /bin
parent187a0f8bf099b227bb7b0e223a991426c81c252f (diff)
style
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 0867f10..a4ae8ed 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -329,8 +329,9 @@ function runDownload (torrentId) {
if (err.code === 'EADDRINUSE' || err.code === 'EACCES') {
// Let the OS choose one for us
server.listen(0, initServer)
+ } else {
+ throw err
}
- else throw err
})
server.once('connection', function () {