Skip to content

Commit ec51dba

Browse files
committed
Use MkdirAll as suggested.
1 parent 6c48abb commit ec51dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (s *Server) getLocalAuthority() (*tls.Certificate, error) {
182182
return &cert, nil
183183
}
184184

185-
err = os.Mkdir(s.config.StoragePath, 0750)
185+
err = os.MkdirAll(s.config.StoragePath, 0750)
186186

187187
keyUsage := x509.KeyUsageDigitalSignature
188188
keyUsage |= x509.KeyUsageKeyEncipherment

0 commit comments

Comments
 (0)