mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
return application list
This commit is contained in:
parent
47f801b4b0
commit
9491ee7621
@ -396,8 +396,8 @@ CLI._startJson = function(cmd, opts, jsonVia, cb) {
|
||||
}, function(err) {
|
||||
if (err) return cb ? cb(new Error(err)) : exitCli(cst.ERROR_EXIT);
|
||||
// Start missing apps
|
||||
return startApps(apps_name, function() {
|
||||
return cb ? cb(null, {success:true}) : speedList();
|
||||
return startApps(apps_name, function(err, apps) {
|
||||
return cb ? cb(err, apps) : speedList();
|
||||
});
|
||||
});
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user