mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
don't delete lock file
This commit is contained in:
committed by
Aiden McClelland
parent
58468dd53f
commit
3d4930acb4
@@ -156,10 +156,6 @@ impl PersistenceFile {
|
||||
.await
|
||||
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
|
||||
.with_code(crate::error::FILESYSTEM_ERROR)?;
|
||||
tokio::fs::remove_file(format!("{}.lock", path.path().display()))
|
||||
.await
|
||||
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
|
||||
.with_code(crate::error::FILESYSTEM_ERROR)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user