Merge pull request #1468 from Schamper/patch-1

Add a return statement to the callback
v1.18.x
Barış Soner Uşaklı 11 years ago
commit 1ed9d4a9c9

@ -24,7 +24,7 @@ var winston = require('winston'),
}
if(!Array.isArray(pids) || !pids.length) {
callback(null, false);
return callback(null, false);
}
callback(null, parseInt(pids[0], 10) === parseInt(pid, 10));

Loading…
Cancel
Save