From 7b3384a6befe4321a2d51df83eb91198993af649 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 11 Sep 2013 12:55:29 -0400 Subject: [PATCH] fixing some bad logic in app starting --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index d79c33d9d2..9b1be2a29a 100644 --- a/app.js +++ b/app.js @@ -51,7 +51,7 @@ winston.info('This program comes with ABSOLUTELY NO WARRANTY.'); winston.info('This is free software, and you are welcome to redistribute it under certain conditions.'); winston.info(''); -if (!fs.existsSync(__dirname + '/config.json') || (!nconf.get('setup') && !nconf.get('upgrade'))) { +if (fs.existsSync(__dirname + '/config.json') && (!nconf.get('setup') && !nconf.get('upgrade'))) { // Load server-side config nconf.file({ file: __dirname + '/config.json'});