From c26a0b5aab2e43c03a73b1d0c2d28283f3d1c7e1 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 30 Mar 2012 22:54:13 +0200 Subject: [PATCH] doc: fix grammar error in cluster docs --- doc/api/cluster.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 04af625bbab..b256ad0556e 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -286,8 +286,8 @@ This example will echo back all messages from the master: ### worker.destroy() This function will kill the worker, and inform the master to not spawn a -new worker. To know the difference between suicide and accidentally -exit, the `suicide` boolean is set to true. +new worker. The boolean `suicide` lets you distinguish between voluntary +and accidental exit. cluster.on('exit', function (worker) { if (worker.suicide === true) {