commented in time file writing again
EIVE/eive-obsw/pipeline/head There was a failure building this commit Details

This commit is contained in:
Jakob Meier 2022-04-29 18:23:31 +02:00
parent 02f352e51f
commit cf20d8e94d
1 changed files with 5 additions and 5 deletions

View File

@ -1708,11 +1708,11 @@ ReturnValue_t CoreController::timeFileHandler() {
}
std::string fileName = currMntPrefix + TIME_FILE;
std::ofstream timeFile(fileName);
// if (not timeFile.good()) {
// sif::error << "CoreController::timeFileHandler: Error opening time file: " << strerror(errno)
// << std::endl;
// return RETURN_FAILED;
// }
if (not timeFile.good()) {
sif::error << "CoreController::timeFileHandler: Error opening time file: " << strerror(errno)
<< std::endl;
return RETURN_FAILED;
}
timeFile << "UNIX SECONDS: " << currentTime.tv_sec << std::endl;
}
return RETURN_OK;