fixed two potential problems on startup

This commit is contained in:
tigerbot 2017-05-08 13:00:45 -06:00
parent 8c4594f399
commit 3e1abaddf4
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ var program = require('commander');
program
.version(require('../package.json').version)
.option('--agree-tos [url1,url2]', "agree to all Terms of Service for Daplie, Let's Encrypt, etc (or specific URLs only)")
.option('-c --config [file]', 'Path to config file (Goldilocks.json or Goldilocks.yml) example: --config /etc/goldilocks/Goldilocks.json')
.option('-c --config <file>', 'Path to config file (Goldilocks.json or Goldilocks.yml) example: --config /etc/goldilocks/Goldilocks.json')
.option('--tunnel [token]', 'Turn tunnel on. This will enter interactive mode for login if no token is specified.')
.option('--email <email>', "(Re)set default email to use for Daplie, Let's Encrypt, ACME, etc.")
.option('--debug', "Enable debug output")

View File

@ -86,7 +86,7 @@ function checkUdpPorts(cb) {
bound[8053] = true;
}
cb(null, bound);
cb(failed, bound);
});
});
}