mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Create the db directory on step ca init
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user