mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
Doesn't start processes with name _old_* anymore hotfix
This commit is contained in:
parent
f0e130828a
commit
ffaa90e964
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user