mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
windows: fix nil pointer reference
This commit is contained in:
parent
f2dbdcb9e8
commit
b34c53d39b
1 changed files with 2 additions and 0 deletions
2
cache.go
2
cache.go
|
@ -235,6 +235,8 @@ func getWindowsCacheDir() (string, error) {
|
|||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return cachedir, nil
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue