windows: fix nil pointer reference

This commit is contained in:
Alexander Neumann 2015-08-18 23:18:12 +02:00
parent f2dbdcb9e8
commit b34c53d39b
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,8 @@ func getWindowsCacheDir() (string, error) {
if err != nil {
return "", err
}
return cachedir, nil
}
if err != nil {