aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cache/repo_cache.go2
1 files changed, 1 insertions, 1 deletions
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
}