Node.js based forum software built for the modern web
fix: #12243, don' set process.env.config if it doesnt exist
Barış Soner Uşaklı788404c1d2c4
diff --git a/src/cli/index.js b/src/cli/index.jsindex 9f0af71030..56853b8304 100644--- a/src/cli/index.js+++ b/src/cli/index.js@@ -114,7 +114,9 @@ if (!configExists && process.argv[2] !== 'setup') {return;}-process.env.CONFIG = configFile;+if (configExists) {+ process.env.CONFIG = configFile;+}// running commandsprogram