Skip to content

Commit 9d94b05

Browse files
committed
fix: PR #5782
1 parent 9362fd7 commit 9d94b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/God.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ God.executeApp = function executeApp(env, cb) {
211211

212212
God.registerCron(env_copy)
213213

214-
if(!env_copy['autostart']) {
214+
if (env_copy['autostart'] === false) {
215215
var clu = {pm2_env: env_copy, process: {pid: 0}};
216216
God.clusters_db[env_copy.pm_id] = clu;
217217
return cb(null, clu);

0 commit comments

Comments
 (0)