mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
closed #1421 use --no-daemon flag to... not daemonize. Also, install script can be canceled without throwing errors.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user