mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +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
|
.await
|
||||||
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
|
.with_context(|e| format!("{}.lock: {}", path.path().display(), e))
|
||||||
.with_code(crate::error::FILESYSTEM_ERROR)?;
|
.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(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user