diff --git a/libafl/src/corpus/inmemory_ondisk.rs b/libafl/src/corpus/inmemory_ondisk.rs index dbdc213f9b..819f4bbc6a 100644 --- a/libafl/src/corpus/inmemory_ondisk.rs +++ b/libafl/src/corpus/inmemory_ondisk.rs @@ -377,7 +377,9 @@ where } // also try to remove the corresponding `.lafl_lock` file if it still exists // (even though it shouldn't exist anymore, at this point in time) - fs::remove_file(self.dir_path.join(format!(".{filename}.lafl_lock")))?; + drop(fs::remove_file( + self.dir_path.join(format!(".{filename}.lafl_lock")), + )); } Ok(()) }