Node.js based forum software built for the modern web
check err and print info
barisusakli1c71001e1dd6
diff --git a/src/install.js b/src/install.jsindex 6c06328c70..80da3a52c1 100644--- a/src/install.js+++ b/src/install.js@@ -460,10 +460,15 @@ function createWelcomePost(next) {db.getObjectField('global', 'topicCount', next);}], function(err, results) {+ if (err) {+ return next(err);+ }+var content = results[0],numTopics = results[1];if (!parseInt(numTopics, 10)) {+ process.stdout.write('Creating welcome post!\n');Topics.post({uid: 1,cid: 2,