Fix intermittent failures when using --quiet

This commit is contained in:
Andrzej Rybczak
2017-08-31 09:23:11 +02:00
parent a960e5c439
commit db28618929
2 changed files with 2 additions and 5 deletions

View File

@@ -105,11 +105,7 @@ bool configure(int argc, char **argv)
// suppress messages from std::clog
if (vm.count("quiet"))
{
std::ofstream null_stream;
null_stream.open("/dev/null");
std::clog.rdbuf(null_stream.rdbuf());
}
std::clog.rdbuf(nullptr);
if (vm.count("help"))
{