diff --git a/lib/forever.js b/lib/forever.js index a4853862..5c9c72d0 100644 --- a/lib/forever.js +++ b/lib/forever.js @@ -761,7 +761,7 @@ forever.findByPid = function (pid, processes) { var procs = !processes ? null : processes.filter(function (p) { - return p.pid == pid; + return p.pid === pid; }); if (procs && procs.length === 0) { procs = null; }