From cd6d2c854b1fd991f8f87f79e75971569158d7c5 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 11 Mar 2025 13:19:23 +0000 Subject: [PATCH] Update central_backend/src/logs/logs_manager.rs --- central_backend/src/logs/logs_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/central_backend/src/logs/logs_manager.rs b/central_backend/src/logs/logs_manager.rs index fb0d1f8..d4f9a1c 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(()) }