From 76a4d1defd525d5f69a63af873c2a9a85886c30a Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 3 Feb 2016 21:54:47 -0800 Subject: style --- bin/cmd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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 () { -- cgit v1.2.3