Create the db directory on step ca init

pull/794/head
Carl Tashian 2 years ago
parent 57f9e54151
commit 9848caf49f

@ -978,6 +978,7 @@ func (p *PKI) Save(opt ...ConfigOption) error {
}
if cfg.DB != nil {
os.MkdirAll(cfg.DB.DataSource, 0700)
ui.PrintSelected("Database folder", cfg.DB.DataSource)
}
if cfg.Templates != nil {

Loading…
Cancel
Save