Browse files

doc: fix grammar error in cluster docs

  • Loading branch information...
1 parent 90ce5b3 commit c26a0b5aab2e43c03a73b1d0c2d28283f3d1c7e1 @bnoordhuis bnoordhuis committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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) {

0 comments on commit c26a0b5

Please sign in to comment.