aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.go b/account.go
index abf10e2..95e2dde 100644
--- a/account.go
+++ b/account.go
@@ -92,7 +92,7 @@ func KeyAuthorization(s Thumber, token string) (string, error) {
}
func (a *Account) SaveKey(fname string) error {
- fd, err := CreateKeyFile(fname)
+ fd, err := CreatePrivFile(fname)
if err != nil {
return err
}