aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 14:57:58 +0100
committerMichael Muré <batolettre@gmail.com>2019-02-28 00:53:36 +0100
commit0aefae6fcca5786f2c898029c3d6282f760f2c63 (patch)
tree9d58bb4350bd5321824732d4060ae0dfe0d85bd5 /cache
parent59a4273edb6324755fca5b1cbbc400f9a1121b9f (diff)
downloadgit-bug-0aefae6fcca5786f2c898029c3d6282f760f2c63.tar.gz
cache: fix unhandled error
Diffstat (limited to 'cache')
-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
}