From 3d4930acb4c3818e634fa148291fb4f5dd629eb3 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 1 Feb 2021 17:28:51 -0700 Subject: [PATCH] don't delete lock file --- appmgr/src/util.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/appmgr/src/util.rs b/appmgr/src/util.rs index 5385fe30a..530707399 100644 --- a/appmgr/src/util.rs +++ b/appmgr/src/util.rs @@ -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(())