diff --git a/central_backend/src/logs/logs_manager.rs b/central_backend/src/logs/logs_manager.rs index fb0d1f8..0164f83 100644 --- a/central_backend/src/logs/logs_manager.rs +++ b/central_backend/src/logs/logs_manager.rs @@ -35,7 +35,7 @@ pub fn save_log( .as_bytes(), )?; file.flush()?; - file.unlock()?; + fs4::fs_std::FileExt::unlock(&file)?; Ok(()) }