return application list

This commit is contained in:
Unitech 2015-06-10 14:03:54 +02:00
parent 47f801b4b0
commit 9491ee7621

View File

@ -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;