From ffaa90e964e4fa065bcf973bd55fcecf5796072f Mon Sep 17 00:00:00 2001 From: Joni Shkurti Date: Tue, 7 Oct 2014 18:00:56 +0200 Subject: [PATCH] Doesn't start processes with name _old_* anymore hotfix --- lib/God.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/God.js b/lib/God.js index 516be967..e5c9fee8 100644 --- a/lib/God.js +++ b/lib/God.js @@ -155,7 +155,8 @@ God.handleExit = function handleExit(clu, exit_code) { */ God.executeApp = function executeApp(env, cb) { // Check if this is and old temporary process - if (env['pm_id'].search('_old_') != -1) + if (env['pm_id'] != undefined && + env['pm_id'].search('_old_') != -1) return false; var env_copy = Common.serialize(env);