Gabriele Contini
2019-09-01 1ce97d4589f7f7a8a6d1fc1028eb6e518cbca534
src/tools/license-generator/license-generator.cpp
@@ -178,7 +178,7 @@
   if (vm.count("output")) {
      const std::string fname = vm["output"].as<string>();
      fstream ofstream(fname, std::ios::out | std::ios::trunc);
      fstream ofstream(fname, std::ios::out | std::ios::app);
      if (!ofstream.is_open()) {
         cerr << "can't open file [" << fname << "] for output." << endl
               << " error: " << strerror( errno);