no need to inform attempt to listen to address

v1.18.x
psychobunny 10 years ago
parent 5c3af6f549
commit 3aa18ebb12

@ -124,10 +124,10 @@ if(nconf.get('ssl')) {
module.exports.listen = function(callback) {
var bind_address = ((nconf.get('bind_address') === "0.0.0.0" || !nconf.get('bind_address')) ? '0.0.0.0' : nconf.get('bind_address')) + ':' + port;
winston.info('NodeBB attempting to listen on: ' + bind_address);
server.listen(port, nconf.get('bind_address'), function(err) {
if (err) {
winston.info('NodeBB was unable to listen on: ' + bind_address);
return callback(err);
}

Loading…
Cancel
Save