mirror of
https://github.com/diamondburned/cchat-gtk.git
synced 2024-12-22 20:27:07 +00:00
Fixed file keyring driver being invalid
This commit is contained in:
parent
6bb7060547
commit
3f06e53e1d
|
@ -47,7 +47,7 @@ func (p Provider) open(service string, write bool) (*os.File, error) {
|
|||
return nil, errors.Wrap(err, "Failed to stat file")
|
||||
}
|
||||
if m := s.Mode(); m != 0600 {
|
||||
return nil, fmt.Errorf("secrets.json file has unsafe permission %04o", m)
|
||||
return nil, fmt.Errorf("%s file has unsafe permission %04o", filename, m)
|
||||
}
|
||||
|
||||
return f, nil
|
||||
|
|
Loading…
Reference in a new issue