Permalink
Browse files

[platform] don\'t check sign of loadavg

  • Loading branch information...
indutny committed Oct 7, 2011
1 parent 37ed5ca commit 1223edcb2b5a9567fe10ae39ee74845073b8b465
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 1223edc

Please sign in to comment.