fixes bug with mutlple pool instances

This commit is contained in:
Zachary Boyd 2017-03-22 13:09:32 -04:00
parent feab4e3990
commit 41d1391f76

View file

@ -45,7 +45,7 @@ if (dns_port) {
} }
if (instances) { if (instances) {
logger && logger.info('[tor]: starting ${instances} tor instances...') logger && logger.info(`[tor]: starting ${instances} tor instances...`)
control.torPool.create(instances, (err) => { control.torPool.create(instances, (err) => {
logger && logger.info('[tor]: tor started'); logger && logger.info('[tor]: tor started');
}); });