diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-09-28 16:50:19 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-09-28 18:48:18 +0200 |
commit | 23c7f472d066087d8053e31e3797a91053a79d9a (patch) | |
tree | bed49cae3b2d4efa366fc0e035cd982eca3ce9da /benchmark/process_loop.js | |
parent | c27d9f986a01b86d30b11fd20a3dbd43251ec13a (diff) | |
download | nodejs-23c7f472d066087d8053e31e3797a91053a79d9a.tar.gz nodejs-23c7f472d066087d8053e31e3797a91053a79d9a.tar.bz2 nodejs-23c7f472d066087d8053e31e3797a91053a79d9a.zip |
API: Move node.exit() to process.exit().
Diffstat (limited to 'benchmark/process_loop.js')
-rw-r--r-- | benchmark/process_loop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/process_loop.js b/benchmark/process_loop.js index ec971f095..2e1e35465 100644 --- a/benchmark/process_loop.js +++ b/benchmark/process_loop.js @@ -11,7 +11,7 @@ function next (i) { }); child.addListener("exit", function (code) { - if (code != 0) node.exit(-1); + if (code != 0) process.exit(-1); next(i - 1); }); } |