diff --git a/core/bbs.js b/core/bbs.js index 3ac0c861..f2ab58ba 100644 --- a/core/bbs.js +++ b/core/bbs.js @@ -21,7 +21,7 @@ const fs = require('fs'); const paths = require('path'); // our main entry point -exports.bbsMain = bbsMain; +exports.main = main; // object with various services we want to de-init/shutdown cleanly if possible const initServices = {}; @@ -42,7 +42,7 @@ function printHelpAndExit() { process.exit(); } -function bbsMain() { +function main() { async.waterfall( [ function processArgs(callback) { diff --git a/main.js b/main.js index ef624294..0bc7bee9 100755 --- a/main.js +++ b/main.js @@ -9,4 +9,4 @@ If this file does not run directly, ensure it's executable: > chmod u+x main.js */ -require('./core/bbs.js').bbsMain(); \ No newline at end of file +require('./core/bbs.js').main(); \ No newline at end of file