diff --git a/internal/cache/dir.go b/internal/cache/dir.go index c4af67d44..0b427b8e3 100644 --- a/internal/cache/dir.go +++ b/internal/cache/dir.go @@ -32,7 +32,7 @@ func xdgCacheDir() (string, error) { func windowsCacheDir() (string, error) { appdata := os.Getenv("LOCALAPPDATA") if appdata == "" { - return "", errors.New("unable to locate cache directory (APPDATA unset)") + return "", errors.New("unable to locate cache directory (LOCALAPPDATA unset)") } return filepath.Join(appdata, "restic"), nil }