Skip to content

Commit

Permalink
find_mongo_pids: Fix regression in 203a82d.
Browse files Browse the repository at this point in the history
Don't consider "ps" stderr to be an error. This occurs on OSX Mountain Lion if
DYLD_LIBRARY_PATH or a similar env var is set, and is harmless.
  • Loading branch information
glasser committed Jan 8, 2013
1 parent 864371f commit 2d27799
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/lib/mongo_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ var find_mongo_pids = function (app_dir, port, callback) {
function (error, stdout, stderr) {
if (error) {
callback({reason: error});
} else if (stderr) {
callback({reason: 'ps produced stderr ' + stderr});
} else {
var pids = [];

Expand Down

0 comments on commit 2d27799

Please sign in to comment.