mirror of
https://github.com/restic/restic.git
synced 2025-03-30 00:00:14 +01: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 {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return cachedir, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue