This commit is contained in:
jshkurti 2015-08-07 17:05:06 +02:00
parent 7227042eaf
commit e00cf6ee53

View File

@ -408,7 +408,7 @@ CLI._startJson = function(cmd, opts, jsonVia, cb) {
if (err) return cb ? cb(new Error(err)) : exitCli(cst.ERROR_EXIT);
// Start missing apps
return startApps(apps_name, function(err, apps) {
return cb ? cb(err, apps) : speedList();
return cb ? cb(err, apps) : speedList(err ? 1 : 0);
});
});
return false;