Permalink
Browse files

Don't check sign of loadavg

Fixes #1838
  • Loading branch information...
1 parent 6984553 commit 4561d9e07b1b030ee8248756915879763431b119 @indutny indutny committed with ry Oct 7, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/node_os.cc
View
@@ -153,10 +153,6 @@ static Handle<Value> GetLoadAvg(const Arguments& args) {
double loadavg[3];
uv_loadavg(loadavg);
- if (loadavg[0] < 0) {
- return Undefined();
- }
-
Local<Array> loads = Array::New(3);
loads->Set(0, Number::New(loadavg[0]));
loads->Set(1, Number::New(loadavg[1]));

0 comments on commit 4561d9e

Please sign in to comment.