added back the OK on premature success

This commit is contained in:
Julian Lam
2016-03-16 11:36:28 -04:00
parent 13210a91e6
commit bb25c1b831

1
nodebb
View File

@@ -119,6 +119,7 @@ var getRunningPid = function(callback) {
}),
function(payload, next) {
if (!payload.plugins.length) {
process.stdout.write('OK'.green + '\n'.reset);
return next(null, []); // no extraneous plugins installed
}