diff --git a/cli.js b/cli.js index f199510..d5706a4 100755 --- a/cli.js +++ b/cli.js @@ -42,7 +42,10 @@ dat(src, dest, argv, function (archive, swarm, importProgress) { if (!importProgress) downloadUI() }) - if (!importProgress) return output[0][0] = 'Connecting...' + if (!importProgress) { + output[0][0] = 'Connecting...' + return + } var bar output[0][0] = `dat://${archive.key.toString('hex')}`