Update central_backend/src/logs/logs_manager.rs
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Pierre HUBERT 2025-03-11 13:19:23 +00:00
parent 7b16d8a2b7
commit cd6d2c854b

View File

@ -35,7 +35,7 @@ pub fn save_log(
.as_bytes(),
)?;
file.flush()?;
file.unlock()?;
fs4::fs_std::FileExt::unlock(file)?;
Ok(())
}