fix perms

This commit is contained in:
idk 2018-12-25 07:14:53 -05:00
parent c91af60622
commit f7be148d18
No known key found for this signature in database
GPG key ID: D75C03B39B5E14E1

View file

@ -22,7 +22,7 @@ type Conn struct {
func (c Conn) FindKeys() bool {
if _, err := os.Stat(c.Path()); os.IsNotExist(err) {
if _, err := os.Stat(c.path); os.IsNotExist(err) {
os.MkdirAll(c.path, os.ModeDir)
os.MkdirAll(c.path, 0755)
}
return false
}