time file writing commended in again
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
6636f42dc2
commit
729b8f547c
@ -1708,11 +1708,11 @@ ReturnValue_t CoreController::timeFileHandler() {
|
|||||||
}
|
}
|
||||||
std::string fileName = currMntPrefix + TIME_FILE;
|
std::string fileName = currMntPrefix + TIME_FILE;
|
||||||
std::ofstream timeFile(fileName);
|
std::ofstream timeFile(fileName);
|
||||||
// if (not timeFile.good()) {
|
if (not timeFile.good()) {
|
||||||
// sif::error << "CoreController::timeFileHandler: Error opening time file: " << strerror(errno)
|
sif::error << "CoreController::timeFileHandler: Error opening time file: " << strerror(errno)
|
||||||
// << std::endl;
|
<< std::endl;
|
||||||
// return RETURN_FAILED;
|
return RETURN_FAILED;
|
||||||
// }
|
}
|
||||||
timeFile << "UNIX SECONDS: " << currentTime.tv_sec << std::endl;
|
timeFile << "UNIX SECONDS: " << currentTime.tv_sec << std::endl;
|
||||||
}
|
}
|
||||||
return RETURN_OK;
|
return RETURN_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user