This commit is contained in:
Barış Soner Uşaklı
2017-11-30 12:39:03 -05:00
parent 17c52a515d
commit 4f2f84e47c
6 changed files with 149 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ module.exports = function (Topics) {
}, next);
},
function (results, next) {
if (results.mainPid) {
if (parseInt(results.mainPid, 10)) {
results.pids = [results.mainPid].concat(results.pids);
}
next(null, results.pids);