1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-31 23:33:03 +00:00

Warn if output files cannot be written.

This commit is contained in:
Carles Fernandez
2018-10-28 02:02:28 +02:00
parent b183fe63ba
commit 19dca87427
7 changed files with 23 additions and 6 deletions

View File

@@ -92,6 +92,10 @@ Nmea_Printer::Nmea_Printer(std::string filename, bool flag_nmea_output_file, boo
{
DLOG(INFO) << "NMEA printer writing on " << nmea_filename.c_str();
}
else
{
std::cout << "File " << nmea_filename << " cannot be saved. Wrong permissions?" << std::endl;
}
}
nmea_devname = nmea_dump_devname;