diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-24 14:57:58 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-02-28 00:53:36 +0100 |
commit | 0aefae6fcca5786f2c898029c3d6282f760f2c63 (patch) | |
tree | 9d58bb4350bd5321824732d4060ae0dfe0d85bd5 /cache | |
parent | 59a4273edb6324755fca5b1cbbc400f9a1121b9f (diff) | |
download | git-bug-0aefae6fcca5786f2c898029c3d6282f760f2c63.tar.gz |
cache: fix unhandled error
Diffstat (limited to 'cache')
-rw-r--r-- | cache/repo_cache.go | 2 |
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 } |