MXS-1300: Disable all output with --quiet
As the option is currently only used for testing, it's better to have it produce no output at all.
This commit is contained in:
@ -26,7 +26,8 @@ module.exports = function() {
|
||||
this.maxctrl = function(argv) {
|
||||
|
||||
if (argv.quiet) {
|
||||
this.logger = new consoleLib.Console(fs.createWriteStream('/dev/null'), process.stderr)
|
||||
this.logger = new consoleLib.Console(fs.createWriteStream('/dev/null'),
|
||||
fs.createWriteStream('/dev/null'))
|
||||
}
|
||||
|
||||
this.argv = argv
|
||||
|
Reference in New Issue
Block a user