From 956b1a0cc8c8c137cb9e3ae027b012ac058c1f05 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 20 Jan 2022 10:11:20 +0100 Subject: Use os.tryrm instead of os.rm so failed deletes don't abort --- bundle.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundle.lua') diff --git a/bundle.lua b/bundle.lua index 0802ba2c8..54b9c0f9a 100644 --- a/bundle.lua +++ b/bundle.lua @@ -35,7 +35,7 @@ end -------------------------------------------------------------------------------- local function _zip(zip_path, ...) - os.rm(zip_path) + os.tryrm(zip_path) import("detect.tools.find_7z") local cmd = find_7z() -- cgit v1.2.3