From 310edd21915c2e07c6d2ea371f88eba1b410dc46 Mon Sep 17 00:00:00 2001 From: Mike van Rossum Date: Mon, 29 Jun 2015 16:02:50 +0200 Subject: [PATCH] fixes #699 --- lib/forever.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }