From 0aefae6fcca5786f2c898029c3d6282f760f2c63 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 24 Feb 2019 14:57:58 +0100 Subject: cache: fix unhandled error --- cache/repo_cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/repo_cache.go b/cache/repo_cache.go index c38eeeeb..286e27a5 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -516,7 +516,7 @@ func repoIsAvailable(repo repository.Repo) error { return err } - os.Remove(lockPath) + err = os.Remove(lockPath) if err != nil { return err } -- cgit