closed #1421 use --no-daemon flag to... not daemonize. Also, install script can be canceled without throwing errors.

This commit is contained in:
Julian Lam
2014-04-23 08:51:44 -04:00
parent 33bba9b596
commit a796940064
3 changed files with 12 additions and 6 deletions

View File

@@ -140,6 +140,12 @@ function setupConfig(next) {
if (!install.values) {
prompt.get(questions.main, function(err, config) {
if (err) {
process.stdout.write('\n\n');
winston.warn('NodeBB setup ' + err.message);
process.exit();
}
if (nconf.get('advanced')) {
prompt.get({
name: 'secondary_database',