small fix
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-03-27 23:09:26 +02:00
parent 534945cfec
commit 437288de1e
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -171,7 +171,7 @@ void PersistentTmStore::deleteUpTo(uint32_t unixSeconds) {
// Convert file time to the UNIX epoch // Convert file time to the UNIX epoch
struct tm fileTime {}; struct tm fileTime {};
if (pathToTime(file.path(), fileTime) != returnvalue::OK) { if (pathToTime(file.path(), fileTime) != returnvalue::OK) {
sif::error << "Time extraction for " << file << "failed" << std::endl; sif::error << "Time extraction for " << file << " failed" << std::endl;
continue; continue;
} }
time_t fileEpoch = timegm(&fileTime); time_t fileEpoch = timegm(&fileTime);