Skip to content

Commit

Permalink
fixes #699
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jun 29, 2015
1 parent 37229d0 commit 310edd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 310edd2

Please sign in to comment.