Fix cargo clippy issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2025-01-22 19:43:32 +01:00
parent 6df43fcc0e
commit 67401e8faf

View File

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