diff --git a/lib/cluster.js b/lib/cluster.js index fbb8a75ec0..1f9536de29 100644 --- a/lib/cluster.js +++ b/lib/cluster.js @@ -474,7 +474,7 @@ function workerInit() { cluster.worker.state = 'listening'; var address = obj.address(); message.act = 'listening'; - message.port = address && address.port || port, + message.port = address && address.port || port; send(message); }); };